aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/server.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index b01c042..417b3e6 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -19,6 +19,10 @@ class backupninja::server {
'' => $fqdn,
default => $backupserver_tag
}
+ $real_backupdir_ensure = $backupdir_ensure ? {
+ '' => "directory",
+ default => $backupdir_ensure,
+ }
group { "backupninjas":
ensure => "present",