aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:54:25 -0300
committerMicah Anderson <micah@riseup.net>2009-08-27 16:15:05 -0400
commitc533d7aa3a2b95049fa625da9182854f3a2f5e53 (patch)
treed2904040c8f92266d2f814f2d97619dbe3dee07a
parent3b2c88b24b73a6c31e6b5bc5de6108108d4a276c (diff)
downloadpuppet-backupninja-c533d7aa3a2b95049fa625da9182854f3a2f5e53.tar.gz
puppet-backupninja-c533d7aa3a2b95049fa625da9182854f3a2f5e53.tar.bz2
Fixing some definitions at backupninja::server::sandbox (2)
-rw-r--r--manifests/server.pp6
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",