diff --git a/puppet/modules/deploy/files/script.sh b/puppet/modules/deploy/files/script.sh index f0b8a4037..6331aeb1b 100644 --- a/puppet/modules/deploy/files/script.sh +++ b/puppet/modules/deploy/files/script.sh @@ -7,5 +7,5 @@ trap 'rm -rf ${dir}' EXIT git clone --quiet --depth 1 https://github.com/theforeman/foreman-infra "${dir}/" g10k -quiet -cachedir "$HOME/.cache/g10k" -puppetfile -puppetfilelocation "${dir}/puppet/Puppetfile" -moduledir "${dir}/puppet/external_modules" rsync -aqx --delete-after --exclude=.git "${dir}"/puppet/* "/etc/puppetlabs/code/environments/$environment/" -puppet generate types --environment "$environment" --config /etc/puppetlabs/puppet/puppet.conf +puppet generate types --environment "$environment" --config /etc/puppetlabs/puppet/puppet.conf --force echo "Deploy complete at $(date)"