diff --git a/manifests/common.pp b/manifests/common.pp index ff1dd2e..98d2146 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -36,7 +36,7 @@ class acme_vault::common ( $common_bashrc_template = @(END) export PATH=$HOME:$PATH - export VAULT_BIN=<%= @vault_bin %> + export VAULT_CMD=<%= @vault_bin %> export VAULT_TOKEN=<%= @vault_token %> export VAULT_ADDR=<%= @vault_addr %> export VAULT_PREFIX=<%= @vault_prefix %> diff --git a/manifests/request.pp b/manifests/request.pp index 54951fe..ae6fc52 100644 --- a/manifests/request.pp +++ b/manifests/request.pp @@ -107,7 +107,7 @@ class acme_vault::request ( ) } cron { "${domain}_issue": - command => ". \$HOME/.bashrc && ${home_dir}/${domain}.sh", + command => "${home_dir}/${domain}.sh", user => $user, weekday => 1, hour => 11,