diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-08-24 02:22:17 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2017-08-29 22:46:14 +0200 |
commit | 7fed35a408b9ec37454169425823785b5fc8978b (patch) | |
tree | 28371d43ac304f99fb0a5305124858db69ef2137 /modules/cron_puppet/files | |
parent | ba2cf1b5d938810077b0fd73844faf432e8e8f9d (diff) | |
download | Puppet-7fed35a408b9ec37454169425823785b5fc8978b.tar.gz Puppet-7fed35a408b9ec37454169425823785b5fc8978b.tar.zst Puppet-7fed35a408b9ec37454169425823785b5fc8978b.zip |
Refactor base installation module
Diffstat (limited to 'modules/cron_puppet/files')
-rw-r--r-- | modules/cron_puppet/files/post-merge | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/modules/cron_puppet/files/post-merge b/modules/cron_puppet/files/post-merge deleted file mode 100644 index ac5e3ff..0000000 --- a/modules/cron_puppet/files/post-merge +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | ## Run Puppet locally using puppet apply | ||
3 | git submodule update --init | ||
4 | /usr/bin/puppet apply `pwd`/manifests/site.pp | ||
5 | |||
6 | ## Log status of the Puppet run | ||
7 | if [ $? -eq 0 ] | ||
8 | then | ||
9 | /usr/bin/logger -i "Puppet has run successfully" -t "puppet-run" | ||
10 | exit 0 | ||
11 | else | ||
12 | /usr/bin/logger -i "Puppet has ran into an error, please run Puppet manually" -t "puppet-run" | ||
13 | exit 1 | ||
14 | fi | ||
15 | |||