Commit 02d8a409 authored by Silvio Rhatto's avatar Silvio Rhatto

Fixing some definitions at backupninja::server::sandbox (2)

parent 30237b7e
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment