diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2009-01-14 19:03:06 -0500 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2009-01-14 19:03:06 -0500 |
commit | b6bf47ef89024ae39f9fe25370554c4ea46914bb (patch) | |
tree | a362a617e3eba56b620a34eb6753063e0d5ca228 /manifests | |
parent | a0ed0c866d139127393223e490b85709e6fdc50b (diff) | |
download | puppet-backupninja-b6bf47ef89024ae39f9fe25370554c4ea46914bb.tar.gz puppet-backupninja-b6bf47ef89024ae39f9fe25370554c4ea46914bb.tar.bz2 |
fix sandbox dependencies
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 9b08b22..3978f3a 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -96,7 +96,7 @@ class backupninja::server { @@file { "${real_ssh_dir}": ensure => directory, mode => 0700, owner => $real_user, group => 0, - require => File["$real_dir"], + require => [User[$real_user], File["$real_dir"]], tag => "$real_backuptag", } } @@ -118,6 +118,7 @@ class backupninja::server { user => $real_user, target => "${real_ssh_dir}/${real_authorized_keys_file}", tag => "$real_backuptag", + require => User[$real_user], } } } @@ -131,7 +132,7 @@ class backupninja::server { managehome => true, shell => "/bin/sh", password => '*', - require => [ Group['backupninjas'], File["$real_dir"] ], + require => Group['backupninjas'], tag => "$real_backuptag" } } @@ -145,7 +146,7 @@ class backupninja::server { managehome => true, shell => "/bin/sh", password => '*', - require => [ Group['backupninjas'], File["$real_dir"] ], + require => Group['backupninjas'], tag => "$real_backuptag" } } |