diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:37:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-08-26 21:37:43 -0300 |
commit | 30237b7ed066509b53bc1f53ffe797d9041856db (patch) | |
tree | 41a56b73e7388da19ac370c27e4b0ec5aee4365f | |
parent | e0982845a5781c542ac3efa3b8c7d6b7f7db8087 (diff) | |
download | puppet-backupninja-30237b7ed066509b53bc1f53ffe797d9041856db.tar.gz puppet-backupninja-30237b7ed066509b53bc1f53ffe797d9041856db.tar.bz2 |
Fixing some definitions at backupninja::server::sandbox
-rw-r--r-- | manifests/server.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index fa85492..28b97d5 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -85,7 +85,7 @@ class backupninja::server { } } } - if !defined(File["$real_ssh_dir"]) { + if !defined(File["${real_ssh_dir}/${real_authorized_keys_file}"]) { @@file { "${real_ssh_dir}/${real_authorized_keys_file}": ensure => present, mode => 0644, owner => 0, group => 0, @@ -96,7 +96,7 @@ class backupninja::server { } case $uid { false: { - if !defined(File["$real_ssh_dir"]) { + if !defined(File["$real_user"]) { @@user { "$user": ensure => "present", gid => "$gid", @@ -111,8 +111,8 @@ class backupninja::server { } } default: { - if !defined(File["$real_ssh_dir"]) { - @@user { "$user": + if !defined(File["$real_user"]) { + @@user { "$real_user": ensure => "present", uid => "$uid", gid => "$gid", |