aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 90882a9..2ae0606 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -37,7 +37,8 @@ $backupninja_ensure_version = 'latest'
class backup(
$when = hiera('backup::when', 'everyday at 01:00'),
- $audit_rsync = hiera('backup::audit_rsync', True)
+ $audit_rsync = hiera('backup::audit_rsync', True),
+ $remotes = hiera('backup::remotes', 'directory')
) {
include backupninja::server
@@ -54,7 +55,7 @@ class backup(
}
file { "$backupdir_remote":
- ensure => directory,
+ ensure => $remotes,
owner => root,
group => root,
mode => 0755,