streams-ops/global/post-tasks.d/030puppet

14 lines
264 B
Plaintext
Raw Normal View History

2013-09-02 14:01:50 +00:00
#!/bin/sh
if [ "x$COSMOS_VERBOSE" = "xy" ]; then
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
2014-09-29 13:06:28 +00:00
puppet apply $args < $m
2013-09-02 14:01:50 +00:00
done
fi