Dzahn has submitted this change and it was merged.

Change subject: puppetized motd of bots project of labs
......................................................................


puppetized motd of bots project of labs

Change-Id: I6862c2b33500f05be1eff749eb29aa8a02d682df
---
A files/labs/bots/motd.tail
A manifests/labs/bots/bots.pp
2 files changed, 33 insertions(+), 0 deletions(-)

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



diff --git a/files/labs/bots/motd.tail b/files/labs/bots/motd.tail
new file mode 100644
index 0000000..4b9a6c2
--- /dev/null
+++ b/files/labs/bots/motd.tail
@@ -0,0 +1,20 @@
+-------------------------------------------------
+           ______
+          (____  \        _
+          |____)  ) ___ _| |_  ___
+          |  __  ( / _ (_   _)/___)
+          | |__)  ) |_| || |_|___ |
+          |______/ \___/  \__|___/
+                   project
+-------------------------------------------------
+
+This is a server of the bots project, the collaborative
+environment to run and operate bots for wikimedia projects.
+
+In case you need a help, you can contact one of following sysadmins:
+
+Petrb (petan), Damian Zaremba (Damianz), Ryan Lane,
+Adam Shorland (addshore)
+
+Important:  don't forget to run command log <message> after every
+           system change
diff --git a/manifests/labs/bots/bots.pp b/manifests/labs/bots/bots.pp
new file mode 100644
index 0000000..efeaeff
--- /dev/null
+++ b/manifests/labs/bots/bots.pp
@@ -0,0 +1,13 @@
+# bots.pp
+
+class bots::motd {
+
+       file { '/etc/motd.tail':
+               path   => '/etc/motd.tail',
+               owner  => 'root',
+               group  => 'root',
+               mode   => '0440',
+               source => 'puppet:///files/labs/bots/motd.tail',
+               ensure => 'present';
+       }
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6862c2b33500f05be1eff749eb29aa8a02d682df
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Petrb <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Lcarr <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to