diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-08-20 09:57:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-08-20 09:57:05 -0300 |
commit | 4cd23f5f481eb63384de35146451556b7b177dce (patch) | |
tree | 2f0e934edd49d3a4efd50fe57088f4e30e2c6bce /manifests | |
parent | d4e5cb86d91b3b7ec06ef4cc05c6aee9138e6093 (diff) | |
download | puppet-backup-4cd23f5f481eb63384de35146451556b7b177dce.tar.gz puppet-backup-4cd23f5f481eb63384de35146451556b7b177dce.tar.bz2 |
Adding mount-media script
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 88e4b76..f69e5a1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -138,6 +138,15 @@ class backup { source => "puppet://$server/modules/backup/sync-backups", } + # mount-media script + file { "/usr/local/sbin/mount-media": + owner => root, + group => root, + mode => 0755, + ensure => present, + source => "puppet://$server/modules/backup/mount-media", + } + # default backupninja::rdiff configuration define rdiff($port = '22', $ensure = present, $installkey = true) { backupninja::rdiff { "rdiff-$title.$domain": |