mirror of
https://github.com/krislamo/puppet-acme_vault
synced 2025-01-18 15:30:34 +00:00
cron time fixes, sourcing
This commit is contained in:
parent
7a93cba305
commit
d390851665
@ -70,14 +70,18 @@ END
|
||||
command => '/bin/true',
|
||||
user => $user,
|
||||
month => 7,
|
||||
hour => 1,
|
||||
minute => 29,
|
||||
environment => "MAILTO=${contact_email}",
|
||||
}
|
||||
|
||||
# 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,
|
||||
weekday => 1,
|
||||
hour => 10,
|
||||
minute => 17,
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -44,6 +44,8 @@ class acme_vault::deploy(
|
||||
command => "${home_dir}/check_cert.sh ${domain} ${cert_destination_path} ${restart_suffix}",
|
||||
user => $user,
|
||||
weekday => 2,
|
||||
hour => 11,
|
||||
minute => 17,
|
||||
}
|
||||
|
||||
file {"${cert_destination_path}/${domain}":
|
||||
|
@ -94,6 +94,8 @@ END
|
||||
command => "${home_dir}/${domain}.sh",
|
||||
user => $user,
|
||||
weekday => 1,
|
||||
hour => 11,
|
||||
minute => 28,
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user