Skip to content

Commit

Permalink
configurable barman home directory permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Claus Riegg committed Sep 21, 2018
1 parent 7976683 commit aa8ac7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
$custom_decompression_filter = $::barman::settings::custom_decompression_filter,
$exported_ipaddress = "${::ipaddress}/32",
$home = $::barman::settings::home,
$home_mode = $::barman::home_mode,
$host_group = $::barman::settings::host_group,
$immediate_checkpoint = $::barman::settings::immediate_checkpoint,
$last_backup_maximum_age = $::barman::settings::last_backup_maximum_age,
Expand Down Expand Up @@ -438,7 +439,7 @@
ensure => $ensure_directory,
owner => $user,
group => $group,
mode => '0750',
mode => $home_mode,
require => Package['barman']
}

Expand Down
1 change: 1 addition & 0 deletions manifests/settings.pp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
$dbuser = 'barman',
$dbname = 'postgres',
$home = '/var/lib/barman',
$home_mode = '0750',
$archiver = true,
$archiver_batch_size = undef,
$backup_method = undef,
Expand Down

0 comments on commit aa8ac7c

Please sign in to comment.