mirror of
https://github.com/krislamo/puppet-acme_vault
synced 2025-01-05 11: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.
|
Path to the vault binary.
|
||||||
|
|
||||||
Default value: `${home_dir}/vault"`
|
Default value: `/usr/local/bin/vault"`
|
||||||
|
|
||||||
#### `vault_prefix`
|
#### `vault_prefix`
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
@ -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/'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user