Dzahn has submitted this change and it was merged.
Change subject: tor - add custom motd message about arm
......................................................................
tor - add custom motd message about arm
use Ori's motd module to add a custom motd
message (i think it's the first time it's being used
outside of vagrant)
to add info that there is the 'arm' tool and how to
run it
Change-Id: I666acd9ed4398534686386dc6e5ce91f80ccdd60
---
M modules/tor/manifests/init.pp
1 file changed, 6 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/modules/tor/manifests/init.pp b/modules/tor/manifests/init.pp
index b1ba575..059a9b0 100644
--- a/modules/tor/manifests/init.pp
+++ b/modules/tor/manifests/init.pp
@@ -58,4 +58,10 @@
proto => 'tcp',
port => $tor_dirport,
}
+
+ motd::script { 'tor_arm':
+ ensure => present,
+ content => "echo 'This is a Tor relay. arm is a monitoring tool for
it.\nusage: sudo -u debian-tor arm'\nalso see: tail -f /var/log/tor/tor.log\n'",
+ }
+
}
--
To view, visit https://gerrit.wikimedia.org/r/168217
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I666acd9ed4398534686386dc6e5ce91f80ccdd60
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits