mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-10 01:15:15 +08:00
Merge pull request #77 from ThibaultDewailly/plugins
osh-encrypt-rsync: Remove logfile as mandatory parameter
This commit is contained in:
commit
74d8a49f3d
1 changed files with 5 additions and 1 deletions
|
@ -394,7 +394,11 @@ sub main {
|
|||
|
||||
# ensure the various config files defined all the keywords we need
|
||||
foreach my $keyword (
|
||||
qw{ logfile signing_key signing_key_passphrase recipients encrypt_and_move_to_directory encrypt_and_move_delay_days rsync_destination rsync_delay_before_remove_days })
|
||||
qw{
|
||||
signing_key signing_key_passphrase recipients encrypt_and_move_to_directory
|
||||
encrypt_and_move_delay_days rsync_destination rsync_delay_before_remove_days
|
||||
}
|
||||
)
|
||||
{
|
||||
next if defined $config{$keyword};
|
||||
_err "Missing mandatory configuration item '$keyword', aborting";
|
||||
|
|
Loading…
Reference in a new issue