Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/364636 )

Change subject: rsync::quickdatacopy: add 'sync-' prefix to /usr/local/sbin/ 
file
......................................................................


rsync::quickdatacopy: add 'sync-' prefix to /usr/local/sbin/ file

The executable file in /usr/local/sbin/ should be named better
to tell us what it does.

Currently we ended up with f.e. "var-lib-rancid"
next to others like "run-puppet-agent" which i found a bit ugly.

Add a "sync-" prefix to it.

Change-Id: I2fb5977fbc792055634c1cf88afbb9e684a3453b
---
M modules/rsync/manifests/quickdatacopy.pp
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/rsync/manifests/quickdatacopy.pp 
b/modules/rsync/manifests/quickdatacopy.pp
index e421591..ec8ff1f 100644
--- a/modules/rsync/manifests/quickdatacopy.pp
+++ b/modules/rsync/manifests/quickdatacopy.pp
@@ -49,7 +49,7 @@
 
       if $dest_host == $::fqdn {
 
-          file { "/usr/local/sbin/${title}":
+          file { "/usr/local/sbin/sync-${title}":
               ensure  => $ensure,
               owner   => 'root',
               group   => 'root',
@@ -65,7 +65,7 @@
           cron { 'sync-rsync-data':
               ensure  => $cron_ensure,
               minute  => '*/10',
-              command => "/usr/local/sbin/${title} >/dev/null 2>&1",
+              command => "/usr/local/sbin/sync-${title} >/dev/null 2>&1",
           }
       }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/364636
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2fb5977fbc792055634c1cf88afbb9e684a3453b
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to