diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-09-30 16:40:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-09-30 16:40:07 -0300 |
commit | ab184775e79a780eb2a32d67260756d8a9b4258d (patch) | |
tree | 8051d20953d3b230db481c6f1ef670d9003f903e | |
parent | fcf8243e9c3286d3eb863770da92abd1c1338001 (diff) | |
download | puppet-backup-ab184775e79a780eb2a32d67260756d8a9b4258d.tar.gz puppet-backup-ab184775e79a780eb2a32d67260756d8a9b4258d.tar.bz2 |
Renames sync-media-init to sync-media-initremotes
-rwxr-xr-x | files/sync-media-initremotes (renamed from files/sync-media-init) | 0 | ||||
-rw-r--r-- | manifests/init.pp | 10 |
2 files changed, 9 insertions, 1 deletions
diff --git a/files/sync-media-init b/files/sync-media-initremotes index 839deea..839deea 100755 --- a/files/sync-media-init +++ b/files/sync-media-initremotes diff --git a/manifests/init.pp b/manifests/init.pp index 8dc43f4..b5ba119 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -164,8 +164,16 @@ class backup( owner => root, group => root, mode => 0755, + ensure => absent, + } + + # sync-media-init script + file { "/usr/local/sbin/sync-media-initremotes": + owner => root, + group => root, + mode => 0755, ensure => present, - source => "puppet:///modules/backup/sync-media-init", + source => "puppet:///modules/backup/sync-media-initremotes", } # mount-media script |