summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/030puppet
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-07-28 16:18:22 +0200
committerLinus Nordberg <linus@nordu.net>2017-07-28 16:18:22 +0200
commit47a968085005c10feb2bbb7cd05610a4ae33cb77 (patch)
tree72c7c9f216294cb0eb4efcd39f39bfe9b0fa8806 /global/post-tasks.d/030puppet
parenteb35f2b362452dab12ffc67c7aa2e81755b1e222 (diff)
Update global/pre-tasks.d/ and global/post-tasks.d/ from nunoc-ops.
Diffstat (limited to 'global/post-tasks.d/030puppet')
-rwxr-xr-xglobal/post-tasks.d/030puppet4
1 files changed, 2 insertions, 2 deletions
diff --git a/global/post-tasks.d/030puppet b/global/post-tasks.d/030puppet
index b94b9ff..6742949 100755
--- a/global/post-tasks.d/030puppet
+++ b/global/post-tasks.d/030puppet
@@ -1,13 +1,13 @@
#!/bin/sh
if [ "x$COSMOS_VERBOSE" = "xy" ]; then
- args="--verbose --show_diff"
+ args="--verbose"
else
args="--logdest=syslog"
fi
if [ -f /usr/bin/puppet -a -d /etc/puppet/manifests ]; then
for m in `find /etc/puppet/manifests -name \*.pp`; do
- puppet apply $args $m
+ puppet apply $args < $m
done
fi