From: Silvio Rhatto Date: Fri, 30 Sep 2016 19:40:07 +0000 (-0300) Subject: Renames sync-media-init to sync-media-initremotes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ab184775e79a780eb2a32d67260756d8a9b4258d;p=puppet-backup.git Renames sync-media-init to sync-media-initremotes --- diff --git a/files/sync-media-init b/files/sync-media-initremotes similarity index 100% rename from files/sync-media-init rename to 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 @@ -161,11 +161,19 @@ class backup( # sync-media-init script file { "/usr/local/sbin/sync-media-init": + 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