aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-08-28 17:59:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2009-08-28 17:59:17 -0300
commitcf23487312c5c478b10f3443e31d7edc64b15448 (patch)
tree7a82ba38721633e7c2116f224ad89cdf7974ce00
parent5fe3a1b401fbac378a8ed802518da5fb2420f17e (diff)
downloadpuppet-backupninja-cf23487312c5c478b10f3443e31d7edc64b15448.tar.gz
puppet-backupninja-cf23487312c5c478b10f3443e31d7edc64b15448.tar.bz2
Trying a different way to test definitions at backupninja::client::key (2)
-rw-r--r--manifests/client.pp4
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}"],