diff options
-rw-r--r-- | manifests/client.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 869e75b..134a7e1 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -81,13 +81,13 @@ class backupninja::client inherits backupninja::client::defaults { case $install_key { true: { if !defined(File["$key_dest"]) { - file { "${backupninja::client::defaults::real_keydestination}": + file { "$key_dest": ensure => directory, mode => 0700, owner => $key_owner, group => $key_group, } } if !defined(File["$key_dest_file"]) { - file { "${backupninja::client::defaults::real_keydestination}/id_${key_type}": + file { "$key_dest_file": source => "${key_store}/${real_user}_id_${key_type}", mode => 0400, owner => $key_owner, group => $key_group, require => File["${backupninja::client::defaults::real_keydestination}"], |