Rush has uploaded a new change for review.
https://gerrit.wikimedia.org/r/189993
Change subject: phab move logmail script to /usr/local/bin
......................................................................
phab move logmail script to /usr/local/bin
Putting this in the phab/tools repo directory
outside of the repo causes a persistent untracked file
and is not ideal when removing / recloning the repo.
Change-Id: I998c8ba04a8a6305a4a23155e2b318f27dd10245
---
M modules/phabricator/manifests/logmail.pp
1 file changed, 5 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/93/189993/1
diff --git a/modules/phabricator/manifests/logmail.pp
b/modules/phabricator/manifests/logmail.pp
index 9988b3b..b67e52e 100644
--- a/modules/phabricator/manifests/logmail.pp
+++ b/modules/phabricator/manifests/logmail.pp
@@ -17,7 +17,7 @@
#
# === Optional Parameters
#
-# [*phab_tools*]
+# [*basedir*]
# path to the phabricator tools directory
#
# [*hour*]
@@ -34,13 +34,14 @@
$script_name,
$sndr_address,
$rcpt_address,
- $phab_tools = '/srv/phab/tools',
+ $basedir = '/usr/local/bin',
$hour = '0',
$minute = '0',
$monthday = '1',
) {
- file { "${phab_tools}/${script_name}":
+
+ file { "${basedir}/${script_name}":
ensure => present,
owner => 'root',
group => 'root',
@@ -50,7 +51,7 @@
cron { "phabstatscron_${title}":
ensure => present,
- command => "${phab_tools}/${script_name}",
+ command => "${basedir}/${script_name}",
user => 'root',
hour => $hour,
minute => $minute,
--
To view, visit https://gerrit.wikimedia.org/r/189993
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I998c8ba04a8a6305a4a23155e2b318f27dd10245
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rush <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits