From b6bf47ef89024ae39f9fe25370554c4ea46914bb Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Wed, 14 Jan 2009 19:03:06 -0500 Subject: fix sandbox dependencies --- manifests/server.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'manifests') 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" } } -- cgit v1.2.3