aboutsummaryrefslogtreecommitdiff
path: root/share/templater/puppet/setup
diff options
context:
space:
mode:
Diffstat (limited to 'share/templater/puppet/setup')
-rwxr-xr-xshare/templater/puppet/setup4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/templater/puppet/setup b/share/templater/puppet/setup
index 402558c..97d4e95 100755
--- a/share/templater/puppet/setup
+++ b/share/templater/puppet/setup
@@ -36,6 +36,10 @@ function templater_puppet {
if [ -e "puppet/config/node/box.example.org.yaml" ]; then
cp puppet/config/node/box.example.org.yaml puppet/config/node/$PROJECT.example.org.yaml
fi
+
+ if [ -e "puppet/Puppetfile" ]; then
+ cp $SHARE/puppet/files/Puppetfile.dist puppet
+ fi
else
templater_echo "Puppet already set"
fi