diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:54:25 -0300 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-08-27 16:15:05 -0400 |
commit | c533d7aa3a2b95049fa625da9182854f3a2f5e53 (patch) | |
tree | d2904040c8f92266d2f814f2d97619dbe3dee07a | |
parent | 3b2c88b24b73a6c31e6b5bc5de6108108d4a276c (diff) | |
download | puppet-backupninja-c533d7aa3a2b95049fa625da9182854f3a2f5e53.tar.gz puppet-backupninja-c533d7aa3a2b95049fa625da9182854f3a2f5e53.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", |