1
0
mirror of https://github.com/krislamo/puppet-acme_vault synced 2024-11-09 20:30:36 +00:00

Fix VAULT_CLI to VAULT_CMD, remove extra sourcing

This commit is contained in:
Kris Lamoureux 2023-04-15 19:47:34 -04:00
parent 8d80daa9a7
commit db4271785b
Signed by: kris
GPG Key ID: A30022791E1719A4
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class acme_vault::common (
$common_bashrc_template = @(END) $common_bashrc_template = @(END)
export PATH=$HOME:$PATH export PATH=$HOME:$PATH
export VAULT_BIN=<%= @vault_bin %> export VAULT_CMD=<%= @vault_bin %>
export VAULT_TOKEN=<%= @vault_token %> export VAULT_TOKEN=<%= @vault_token %>
export VAULT_ADDR=<%= @vault_addr %> export VAULT_ADDR=<%= @vault_addr %>
export VAULT_PREFIX=<%= @vault_prefix %> export VAULT_PREFIX=<%= @vault_prefix %>

View File

@ -107,7 +107,7 @@ class acme_vault::request (
) )
} }
cron { "${domain}_issue": cron { "${domain}_issue":
command => ". \$HOME/.bashrc && ${home_dir}/${domain}.sh", command => "${home_dir}/${domain}.sh",
user => $user, user => $user,
weekday => 1, weekday => 1,
hour => 11, hour => 11,