diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:54:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:54:25 -0300 |
commit | 02d8a40959f4376742d6c813aa3e44e79c56c429 (patch) | |
tree | 480d6889e3dddd772bf604dbd95b1f34800684d2 | |
parent | 30237b7ed066509b53bc1f53ffe797d9041856db (diff) | |
download | puppet-backupninja-02d8a40959f4376742d6c813aa3e44e79c56c429.tar.gz puppet-backupninja-02d8a40959f4376742d6c813aa3e44e79c56c429.tar.bz2 |
Fixing some definitions at backupninja::server::sandbox (2)
-rw-r--r-- | manifests/server.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 28b97d5..790c931 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -96,8 +96,8 @@ class backupninja::server { } case $uid { false: { - if !defined(File["$real_user"]) { - @@user { "$user": + if !defined(User["$real_user"]) { + @@user { "$real_user": ensure => "present", gid => "$gid", comment => "$name backup sandbox", @@ -111,7 +111,7 @@ class backupninja::server { } } default: { - if !defined(File["$real_user"]) { + if !defined(User["$real_user"]) { @@user { "$real_user": ensure => "present", uid => "$uid", |