1
0
mirror of https://github.com/krislamo/puppet-acme_vault synced 2024-11-09 20:30:36 +00:00

cron time fixes, sourcing

This commit is contained in:
Bob Belnap 2018-03-05 13:23:44 -05:00
parent 7a93cba305
commit d390851665
3 changed files with 9 additions and 1 deletions

View File

@ -70,14 +70,18 @@ END
command => '/bin/true', command => '/bin/true',
user => $user, user => $user,
month => 7, month => 7,
hour => 1,
minute => 29,
environment => "MAILTO=${contact_email}", environment => "MAILTO=${contact_email}",
} }
# renew vault token # renew vault token
cron { 'renew vault token': cron { 'renew vault token':
command => "$vault_bin token-renew > /dev/null", command => ". \$HOME/.bashrc && $vault_bin token-renew > /dev/null",
user => $user, user => $user,
weekday => 1, weekday => 1,
hour => 10,
minute => 17,
} }
} }

View File

@ -44,6 +44,8 @@ class acme_vault::deploy(
command => "${home_dir}/check_cert.sh ${domain} ${cert_destination_path} ${restart_suffix}", command => "${home_dir}/check_cert.sh ${domain} ${cert_destination_path} ${restart_suffix}",
user => $user, user => $user,
weekday => 2, weekday => 2,
hour => 11,
minute => 17,
} }
file {"${cert_destination_path}/${domain}": file {"${cert_destination_path}/${domain}":

View File

@ -94,6 +94,8 @@ END
command => "${home_dir}/${domain}.sh", command => "${home_dir}/${domain}.sh",
user => $user, user => $user,
weekday => 1, weekday => 1,
hour => 11,
minute => 28,
} }
} }