making maxsleep a parameter and decreasing it.
This commit is contained in:
@@ -6,7 +6,9 @@ class puppet (
|
|||||||
$daemonize = true,
|
$daemonize = true,
|
||||||
$run_hour = '*/1',
|
$run_hour = '*/1',
|
||||||
$run_minute = '10',
|
$run_minute = '10',
|
||||||
$run_if_ipmatch = '') {
|
$run_if_ipmatch = '',
|
||||||
|
$maxsleep = '240'
|
||||||
|
) {
|
||||||
$puppet_service = $::kernel ? {
|
$puppet_service = $::kernel ? {
|
||||||
'Darwin' => 'org.macports.puppet',
|
'Darwin' => 'org.macports.puppet',
|
||||||
'FreeBSD' => 'puppetd',
|
'FreeBSD' => 'puppetd',
|
||||||
@@ -69,7 +71,6 @@ class puppet (
|
|||||||
hour => $run_hour,
|
hour => $run_hour,
|
||||||
ensure => $cron_real,
|
ensure => $cron_real,
|
||||||
}
|
}
|
||||||
$maxsleep = 6400
|
|
||||||
|
|
||||||
file { '/usr/local/sbin/puppetd_run.sh':
|
file { '/usr/local/sbin/puppetd_run.sh':
|
||||||
content => template('puppet/puppetd_run.sh.erb'),
|
content => template('puppet/puppetd_run.sh.erb'),
|
||||||
|
|||||||
Reference in New Issue
Block a user