From 5aafe002893ba8ae5d2c6261eb4acd856fc32578 Mon Sep 17 00:00:00 2001 From: Bob Belnap Date: Tue, 13 Mar 2018 11:34:21 -0400 Subject: [PATCH] deploy cron sources .bashrc --- manifests/deploy.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/deploy.pp b/manifests/deploy.pp index 3f6160e..34ac066 100644 --- a/manifests/deploy.pp +++ b/manifests/deploy.pp @@ -41,7 +41,7 @@ class acme_vault::deploy( # go through each domain, setup cron, and ensure the destination dir exists $domains.each |$domain, $d_list| { 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, weekday => 2, hour => 11,