Browse Source

Update 'common/cron.cfg'

master
dave 3 years ago
parent
commit
0c98d6bbfc
  1. 4
      common/cron.cfg

4
common/cron.cfg

@ -8,4 +8,6 @@ mkdir -p /var/spool/cron
## -- apply 00_puppet first, then all of puppet-common.
## -- after that the 15-min cronjob will apply ALL manifests
#echo '@reboot /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common/00_puppet.pp 2>&1 &> /tmp/puppet-apply-reboot-priority.log && /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common 2>&1 &> /tmp/puppet-apply-reboot.log' > /var/spool/cron/root
echo '@reboot /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common/00_puppet.pp 2>&1 1>/tmp/puppet-reboot-00puppet.log && /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common 2>&1 1>/tmp/puppet-reboot-01common.log ' > /var/spool/cron/root
echo '@reboot /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common/00_puppet.pp 2>&1 1>/tmp/puppet-reboot-00puppet.log && /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common 2>&1 1>/tmp/puppet-reboot-01common.log ' > /var/spool/cron/root
## need to leave a space at the end

Loading…
Cancel
Save