mirror of
https://github.com/krislamo/puppet-acme_vault
synced 2024-12-15 20:30:35 +00:00
clean up homedir vault, default vault_bin to /usr/local/bin/vault
This commit is contained in:
parent
9a54831664
commit
e7c16123f5
@ -126,7 +126,7 @@ REQUIRED
|
||||
|
||||
Path to the vault binary.
|
||||
|
||||
Default value: `${home_dir}/vault"`
|
||||
Default value: `/usr/local/bin/vault"`
|
||||
|
||||
#### `vault_prefix`
|
||||
|
||||
|
@ -57,19 +57,6 @@ class acme_vault::common (
|
||||
|
||||
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
|
||||
concat { "${home_dir}/.bashrc":
|
||||
owner => $user,
|
||||
|
@ -14,7 +14,7 @@ class acme_vault::params {
|
||||
# authentication
|
||||
$vault_token = undef
|
||||
$vault_addr = undef
|
||||
$vault_bin = "${home_dir}/vault"
|
||||
$vault_bin = "/usr/local/bin/vault"
|
||||
|
||||
$vault_prefix = '/secret/letsencrypt/'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user