aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2008-12-06 19:43:19 -0500
committerAntoine Beaupre <anarcat@koumbit.org>2008-12-06 19:43:19 -0500
commitddab7a22876a664c17a4a98ad536b97c36496bd6 (patch)
tree6f4927bab6bb6f9d72758d099c4da74463949138
parent37a6a9feb1a3674c9d7d8cea162acc253e035d56 (diff)
downloadpuppet-backupninja-ddab7a22876a664c17a4a98ad536b97c36496bd6.tar.gz
puppet-backupninja-ddab7a22876a664c17a4a98ad536b97c36496bd6.tar.bz2
make the user depend on its home so it gets created properly
-rw-r--r--manifests/server.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/server.pp b/manifests/server.pp
index 162d889..e4298ef 100644
--- a/manifests/server.pp
+++ b/manifests/server.pp
@@ -98,7 +98,7 @@ class backupninja::server {
managehome => true,
shell => "/bin/sh",
password => '*',
- require => Group['backupninjas'],
+ require => [ Group['backupninjas'], File["$real_dir"] ],
tag => "$real_backuptag"
}
}
@@ -112,7 +112,7 @@ class backupninja::server {
managehome => true,
shell => "/bin/sh",
password => '*',
- require => Group['backupninjas'],
+ require => [ Group['backupninjas'], File["$real_dir"] ],
tag => "$real_backuptag"
}
}