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