diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-06 17:12:15 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-06 17:12:15 -0300 |
commit | 1cb8f09877a7e1bf2ef3a2cd35d846ab2ffeec7b (patch) | |
tree | cab3e48954b9ee14a396e674b52d65db0190e1cd /manifests | |
parent | b4657888b560aed7885d2a9248bdb00604976257 (diff) | |
download | puppet-backupninja-1cb8f09877a7e1bf2ef3a2cd35d846ab2ffeec7b.tar.gz puppet-backupninja-1cb8f09877a7e1bf2ef3a2cd35d846ab2ffeec7b.tar.bz2 |
Support for '' variable
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server.pp | 4 |
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", |