feat: add audit log for openbao
- openbao requires audit-log configured in config file
This commit is contained in:
parent
9854403b02
commit
a5b9850e82
@ -4,6 +4,7 @@ profiles::vault::server::members_lookup: true
|
||||
profiles::vault::server::data_dir: /data/vault
|
||||
profiles::vault::server::manage_storage_dir: true
|
||||
profiles::vault::server::tls_disable: false
|
||||
profiles::vault::server::audit_log: /data/vault/audit.log
|
||||
vault::package_name: openbao
|
||||
vault::package_ensure: latest
|
||||
|
||||
|
||||
@ -65,6 +65,17 @@ class profiles::vault::server (
|
||||
api_addr => "${http_scheme}://${::facts['networking']['fqdn']}:${client_port}",
|
||||
extra_config => {
|
||||
cluster_addr => "${http_scheme}://${::facts['networking']['fqdn']}:${cluster_port}",
|
||||
audit => [
|
||||
{
|
||||
file => {
|
||||
'audit-file' => {
|
||||
options => {
|
||||
file_path => $audit_log,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
},
|
||||
listener => [
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user