aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/client.pp3
-rw-r--r--manifests/rdiff.pp2
2 files changed, 3 insertions, 2 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index acff367..95e3905 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -36,7 +36,8 @@ class backupninja::client::defaults {
ensure => '0.9.6-4';
}
file { $configdir:
- ensure => directory
+ ensure => directory,
+ mode => 750, owner => 0, group => 0;
}
}
diff --git a/manifests/rdiff.pp b/manifests/rdiff.pp
index 2624ecd..38a975d 100644
--- a/manifests/rdiff.pp
+++ b/manifests/rdiff.pp
@@ -27,7 +27,7 @@ define backupninja::rdiff(
$ssh_dir = false, $authorized_keys_file = false, $installuser = true, $installkey = true, $key = false,
$backuptag = false, $home = false, $backupkeytype = "rsa", $backupkeystore = false, $extras = false)
{
- include backupninja::client::rdiff-backup
+ include backupninja::client::rdiff_backup
case $type {
'remote': {