mirror of
https://github.com/krislamo/puppet-acme_vault
synced 2025-01-18 07:30:34 +00:00
Fix VAULT_CLI to VAULT_CMD, remove extra sourcing
This commit is contained in:
parent
8d80daa9a7
commit
db4271785b
@ -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 %>
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user