summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/030puppet
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-07-28 15:14:03 +0200
committerLinus Nordberg <linus@nordu.net>2017-07-28 15:14:03 +0200
commit4223da5ae4d440774e350a8489b7d4bd0fe38c11 (patch)
treeabf75b36f7b066f8dcf674fc8decb473c1585d15 /global/post-tasks.d/030puppet
parent883c92a407ad1db7925eec9bab483b06d12aa5a7 (diff)
Update from sunet/multiverse.ct-ops-2017-07-28-v01
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 6742949..b94b9ff 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"
+ args="--verbose --show_diff"
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