Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/168217

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/17/168217/1

diff --git a/modules/tor/manifests/init.pp b/modules/tor/manifests/init.pp
index b1ba575..a9cbe0c 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'",
+    }
+
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I666acd9ed4398534686386dc6e5ce91f80ccdd60
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

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

Reply via email to