Alexandros Kosiaris has submitted this change and it was merged.

Change subject: palladium: Set up a motd warning
......................................................................


palladium: Set up a motd warning

We don't want people to any longer use palladium

Change-Id: I6818fa479b75da3df07062e279aa7808d56c8206
---
A files/palladium_deprecation
M manifests/site.pp
2 files changed, 33 insertions(+), 0 deletions(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/files/palladium_deprecation b/files/palladium_deprecation
new file mode 100755
index 0000000..8f3d1c8
--- /dev/null
+++ b/files/palladium_deprecation
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+cat <<'MOTD'
+     _         _   _  ___ _____                    _   _     _
+  __| | ___   | \ | |/ _ \_   _|  _   _ ___  ___  | |_| |__ (_)___
+/  _` |/ _ \  |  \| | | | || |   | | | / __|/ _ \ | __| '_ \| / __|
+| (_| | (_) | | |\  | |_| || |   | |_| \__ \  __/ | |_| | | | \__ \
+ \__,_|\___/  |_| \_|\___/ |_|    \__,_|___/\___|  \__|_| |_|_|___/
+
+                              _
+ ___  ___ _ ____   _____ _ __| |
+/ __|/ _ \ '__\ \ / / _ \ '__| |
+\__ \  __/ |   \ V /  __/ |  |_|
+|___/\___|_|    \_/ \___|_|  (_)
+
+
+While it is still working, palladium is NOT the proper server anymore
+
+Head over to puppetmaster1001 or puppetmaster1002. Look at the following
+legend to see where to head to:
+
+ * PUPPET CERT SIGNING: should be done ONLY on puppetmaster1001
+ * REIMAGING: should be done on neodymium, using the automated script Riccardo 
is working on, or on puppetmaster1001 only
+ * CONFCTL: can be done on any puppetmaster frontend, so 
puppetmaster1001.eqiad.wmnet or puppetmaster2001.eqiad.wmnet
+ * PUPPET-MERGE: can be done on any  puppetmaster frontend, so 
puppetmaster1001 or puppetmaster2001
+ * GIT PRIVATE: can be edited from any puppetmaster frontend, so 
puppetmaster1001 or puppetmaster2001
+
+MOTD
diff --git a/manifests/site.pp b/manifests/site.pp
index cb869ec..7f9d9c7 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2330,6 +2330,11 @@
     interface::add_ip6_mapped { 'main':
         interface => 'eth0',
     }
+    motd::script { 'deprecation_warning':
+        ensure   => present,
+        priority => 01,
+        source   => 'puppet:///files/palladium_deprecation',
+    }
     # Add a site for temporary puppet backend tests
     ::puppetmaster::web_frontend { 'puppetmaster.test.eqiad.wmnet':
         master    => 'palladium.eqiad.wmnet',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6818fa479b75da3df07062e279aa7808d56c8206
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to