Browse Source

Delete 'albert/cron.cfg'

master
dave 8 months ago
parent
commit
a8c56cfa05
  1. 20
      albert/cron.cfg

20
albert/cron.cfg

@ -1,20 +0,0 @@
## this adds a default cron to apply ALBERTS puppet configs upon reboot
mkdir -p /var/spool/cron
## -- seems you can't apply all manifests, need to be eased in gradually.
#echo "@reboot /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests &> /tmp/puppet-apply-reboot-priority.log" > /var/spool/cron/root
## -- added for Ansible procesing
## -- need to add the ansible cron in.
#echo "@reboot /usr/local/sbin/apply-ansible.sh &>> /var/log/ansible-reboot.log" > /var/spool/cron/root
## -- apply 00_puppet first, then all of puppet-common.
## -- after that the 15-min cronjob will apply ALL manifests
## -- no, this is left out now.
#echo '@reboot /opt/puppetlabs/bin/puppet apply /var/lib/puppet/manifests/puppet-common-albert/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
## -- try to cron the ansible apply here
#echo '*/10 /usr/local/sbin/update-and-apply-ansible.sh 2>&1 1>/var/log/ansible-apply.log ' > /var/spool/cron/root
## need to leave a space at the end
Loading…
Cancel
Save