diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 15:11:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 15:11:27 -0300 |
commit | 1a0ab66327c46013150a4b25cd8e24e99a5c0984 (patch) | |
tree | e34570a3159a6361594f52189f21feed0f7cfe4c /share/templater/puppet/setup | |
parent | 7724f8fa488693e40ff3d7c6759a57cc4ddf257d (diff) | |
download | templater-1a0ab66327c46013150a4b25cd8e24e99a5c0984.tar.gz templater-1a0ab66327c46013150a4b25cd8e24e99a5c0984.tar.bz2 |
Feat: puppet: adds sample Puppefile
Diffstat (limited to 'share/templater/puppet/setup')
-rwxr-xr-x | share/templater/puppet/setup | 4 |
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 |