diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index aa12016..d2fda8c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,12 +21,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # backup folder -$backupdir = "/var/backups" -$backup_remote = "$backupdir/remote" +$backupdir = "/var/backups" +$backupdir_remote = "$backupdir/remote" # for data that's going to be encrypted and signed $backup_include_unencrypted = [ "/etc", "/var", "/home", ] -$backup_exclude_unencrypted = [ "$backup_remote", "/var/vservers", "$backupdir/duplicity" ] +$backup_exclude_unencrypted = [ "$backupdir_remote", "$backupdir/duplicity", "/var/cache", "/var/vservers" ] # for data that were previously encrypted and signed $backup_include_encrypted = [ "$backupdir/duplicity", ] @@ -52,7 +52,7 @@ class backup { force => true, } - file { "$backup_remote": + file { "$backupdir_remote": ensure => directory, owner => root, group => root, |