aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-08-03 13:39:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-08-03 13:39:35 -0300
commita273c148adb5d41a62b1b768d99d73f7db4979df (patch)
tree6a729f5dc859ee6f15c25648880875fc19b83015 /manifests
parentab8737a90a240633c7866c4cf360e115fb930cd5 (diff)
downloadpuppet-backup-a273c148adb5d41a62b1b768d99d73f7db4979df.tar.gz
puppet-backup-a273c148adb5d41a62b1b768d99d73f7db4979df.tar.bz2
Allow customization of backup folders
Diffstat (limited to 'manifests')
-rw-r--r--manifests/params.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index 85d82fa..212fd8e 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -1,8 +1,8 @@
class backup::params {
# backup folder
- $backupdir = "/var/backups"
- $backupdir_remote = "$backupdir/remote"
- $backupdir_users = "$backupdir/users"
+ $backupdir = hiera('backup::dir', "/var/backups")
+ $backupdir_remote = hiera('backup::dir::remote', "$backupdir/remote")
+ $backupdir_users = hiera('backup::dir::users', "$backupdir/users")
$backupdir_ensure = hiera('backup::dir::ensure', 'directory')
# for data that's going to be encrypted and signed