#!/bin/bash
find skeleton -type f | git checkout-index --stdin --force --prefix="$HOME/.puppet/var/puppet-module/" --

#!/bin/bash
if [ $(puppet --version |sed -e 's/\..*$//' ) -gt 3 ]; then
  find skeleton -type f | git checkout-index --stdin --force --prefix="$HOME/.puppetlabs/opt/puppet/cache/puppet-module/" --
else
  find skeleton -type f | git checkout-index --stdin --force --prefix="$HOME/.puppet/var/puppet-module/" --
fi

Support new Puppet 4 paths
Support new Puppet 4 paths
