Revision 44be90c9
Added by Dominic Cleal over 8 years ago
foreman/foreman.cron.d | ||
---|---|---|
# Get the node.rb / ENC script and store at /etc/puppet/node.rb:
|
||
# https://github.com/theforeman/puppet-foreman/blob/master/templates/external_node.rb.erb
|
||
# Send facts to Foreman, using the ENC script in a fact pushing only mode
|
||
#*/2 * * * * puppet /usr/bin/ruby193-ruby /etc/puppet/node.rb --push-facts >>/var/log/foreman/cron.log 2>&1
|
||
#*/2 * * * * puppet /usr/bin/tfm-ruby /etc/puppet/node.rb --push-facts >>/var/log/foreman/cron.log 2>&1
|
||
|
||
# Warning: ActiveRecord-based storeconfigs is deprecated from Foreman 1.1 and Puppet 3.0
|
||
# see http://projects.theforeman.org/wiki/foreman/ReleaseNotes#11-stable
|
Also available in: Unified diff
Rename scl_ruby variables to scl_ruby_bin, use tfm-ruby, tidy up and optimise