Show diff of puppet changes as seen in eduID
This commit is contained in:
parent
a94f87c41c
commit
b81de45e77
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "x$COSMOS_VERBOSE" = "xy" ]; then
|
if [ "x$COSMOS_VERBOSE" = "xy" ]; then
|
||||||
args="--verbose"
|
args="--verbose --show_diff"
|
||||||
else
|
else
|
||||||
args="--logdest=syslog"
|
args="--logdest=syslog"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f /usr/bin/puppet -a -d /etc/puppet/manifests ]; then
|
if [ -f /usr/bin/puppet -a -d /etc/puppet/manifests ]; then
|
||||||
for m in `find /etc/puppet/manifests -name \*.pp`; do
|
for m in `find /etc/puppet/manifests -name \*.pp`; do
|
||||||
puppet apply $args < $m
|
puppet apply $args $m
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue