mirror of
https://github.com/krislamo/puppet-acme_vault
synced 2024-11-09 20:30:36 +00:00
deploy cron sources .bashrc
This commit is contained in:
parent
d390851665
commit
5aafe00289
@ -41,7 +41,7 @@ class acme_vault::deploy(
|
|||||||
# go through each domain, setup cron, and ensure the destination dir exists
|
# go through each domain, setup cron, and ensure the destination dir exists
|
||||||
$domains.each |$domain, $d_list| {
|
$domains.each |$domain, $d_list| {
|
||||||
cron { "${domain}_deploy":
|
cron { "${domain}_deploy":
|
||||||
command => "${home_dir}/check_cert.sh ${domain} ${cert_destination_path} ${restart_suffix}",
|
command => ". \$HOME/.bashrc && ${home_dir}/check_cert.sh ${domain} ${cert_destination_path} ${restart_suffix}",
|
||||||
user => $user,
|
user => $user,
|
||||||
weekday => 2,
|
weekday => 2,
|
||||||
hour => 11,
|
hour => 11,
|
||||||
|
Loading…
Reference in New Issue
Block a user