diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-08 18:28:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-08-08 18:28:19 +0200 |
commit | 5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0 (patch) | |
tree | 9d97ee7848753ee69fc713881fdb004ce94c9cec /modules/cron-puppet/files | |
parent | 596f9fefb01f1419e640f3f3a878443adc047b07 (diff) | |
download | Puppet-5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0.tar.gz Puppet-5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0.tar.zst Puppet-5b4fbb5f53cfe34b9852223bc5dee86875fbe7b0.zip |
Rename cron-puppet class to cron_puppet
Diffstat (limited to 'modules/cron-puppet/files')
-rw-r--r-- | modules/cron-puppet/files/post-merge | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/cron-puppet/files/post-merge b/modules/cron-puppet/files/post-merge deleted file mode 100644 index b8dc266..0000000 --- a/modules/cron-puppet/files/post-merge +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/bash -e | ||
2 | ## Run Puppet locally using puppet apply | ||
3 | /usr/bin/puppet apply /etc/puppetlabs/puppet/manifests/site.pp | ||
4 | |||
5 | ## Log status of the Puppet run | ||
6 | if [ $? -eq 0 ] | ||
7 | then | ||
8 | /usr/bin/logger -i "Puppet has run successfully" -t "puppet-run" | ||
9 | exit 0 | ||
10 | else | ||
11 | /usr/bin/logger -i "Puppet has ran into an error, please run Puppet manually" -t "puppet-run" | ||
12 | exit 1 | ||
13 | fi | ||
14 | |||