Add a param for a manual crontab
This commit is contained in:
parent
b882802ac9
commit
0d1a7d4b82
1 changed files with 6 additions and 3 deletions
|
@ -17,6 +17,7 @@ class rhizo_base {
|
||||||
$password_hash = hiera('rhizo::password_hash')
|
$password_hash = hiera('rhizo::password_hash')
|
||||||
|
|
||||||
# Configuration settings
|
# Configuration settings
|
||||||
|
$notouchcron = hiera('rhizo::notouchcron', 0)
|
||||||
$use_ups = hiera('rhizo::use_ups')
|
$use_ups = hiera('rhizo::use_ups')
|
||||||
$rhizomatica_dir = hiera('rhizo::rhizomatica_dir')
|
$rhizomatica_dir = hiera('rhizo::rhizomatica_dir')
|
||||||
$sq_hlr_path = hiera('rhizo::sq_hlr_path')
|
$sq_hlr_path = hiera('rhizo::sq_hlr_path')
|
||||||
|
@ -613,9 +614,11 @@ schedule { 'repo':
|
||||||
content => template('rhizo_base/apcupsd.erb'),
|
content => template('rhizo_base/apcupsd.erb'),
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/cron.d/rhizomatica':
|
unless $notouchcron == 1 {
|
||||||
ensure => 'present',
|
file { '/etc/cron.d/rhizomatica':
|
||||||
content => template('rhizo_base/rhizomatica.cron.erb'),
|
ensure => 'present',
|
||||||
|
content => template('rhizo_base/rhizomatica.cron.erb'),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
host { 'mail':
|
host { 'mail':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue