mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-12-16 09:40:35 +00:00
minor changes
This commit is contained in:
parent
ac28d614de
commit
3d60cff446
@ -74,8 +74,8 @@ class rsnapshot::config (
|
||||
$logfile = "${logpath}/${host}.log"
|
||||
|
||||
# fail if $backup_defaults is set to false and no $host[backup] defined
|
||||
if ! $backup_defaults and ! $backup {
|
||||
fail("There is no point in not specifying a backup, I got backup_defaults: ${backup_defaults} and backup definitions for this host (${host}) don't exist")
|
||||
if ! $backup_defaults and ! $backup {
|
||||
fail("==> Configuration error: backup_defaults is ${backup_defaults} and backup definitions for this host don't exist <==")
|
||||
}
|
||||
|
||||
# merge the backup hashes to one if backup_default is set (defaults to true)
|
||||
|
Loading…
Reference in New Issue
Block a user