1
0
mirror of https://github.com/krislamo/puppet-acme_vault synced 2024-09-19 12:30:35 +00:00

clean up homedir vault, default vault_bin to /usr/local/bin/vault

This commit is contained in:
Bob Belnap 2021-10-31 13:38:31 -04:00
parent 9a54831664
commit e7c16123f5
3 changed files with 2 additions and 15 deletions

View File

@ -126,7 +126,7 @@ REQUIRED
Path to the vault binary. Path to the vault binary.
Default value: `${home_dir}/vault"` Default value: `/usr/local/bin/vault"`
#### `vault_prefix` #### `vault_prefix`

View File

@ -57,19 +57,6 @@ class acme_vault::common (
Group <| tag == 'acme_vault_group' |> { members +> $group_members } Group <| tag == 'acme_vault_group' |> { members +> $group_members }
# vault module isn't too flexible for install only, just copy in binary
# would be nice if this worked!
#class { '::vault::install':
# manage_user => false,
#}
#
# we have moved to installing vault binary via a dedicated profile, we no
# longer what this here. This can be removed after puppet cleans up.
file { $vault_bin:
ensure => absent,
}
# variables in bashrc # variables in bashrc
concat { "${home_dir}/.bashrc": concat { "${home_dir}/.bashrc":
owner => $user, owner => $user,

View File

@ -14,7 +14,7 @@ class acme_vault::params {
# authentication # authentication
$vault_token = undef $vault_token = undef
$vault_addr = undef $vault_addr = undef
$vault_bin = "${home_dir}/vault" $vault_bin = "/usr/local/bin/vault"
$vault_prefix = '/secret/letsencrypt/' $vault_prefix = '/secret/letsencrypt/'