From 3d60cff4464b44edab23fe15b8cc370ebcd1f87c Mon Sep 17 00:00:00 2001 From: Norbert Varzariu Date: Sat, 19 Dec 2015 22:57:56 +0100 Subject: [PATCH] minor changes --- manifests/config.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index 2fcabb6..66efc60 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -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)