aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:54:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-26 21:54:25 -0300
commit02d8a40959f4376742d6c813aa3e44e79c56c429 (patch)
tree480d6889e3dddd772bf604dbd95b1f34800684d2
parent30237b7ed066509b53bc1f53ffe797d9041856db (diff)
downloadpuppet-backupninja-02d8a40959f4376742d6c813aa3e44e79c56c429.tar.gz
puppet-backupninja-02d8a40959f4376742d6c813aa3e44e79c56c429.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",