diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-08-03 13:39:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-08-03 13:39:35 -0300 |
commit | a273c148adb5d41a62b1b768d99d73f7db4979df (patch) | |
tree | 6a729f5dc859ee6f15c25648880875fc19b83015 /manifests | |
parent | ab8737a90a240633c7866c4cf360e115fb930cd5 (diff) | |
download | puppet-backup-a273c148adb5d41a62b1b768d99d73f7db4979df.tar.gz puppet-backup-a273c148adb5d41a62b1b768d99d73f7db4979df.tar.bz2 |
Allow customization of backup folders
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/params.pp | 6 |
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 |