Petrb has uploaded a new change for review. https://gerrit.wikimedia.org/r/69133
Change subject: updating motd to make it clear which server is which ...................................................................... updating motd to make it clear which server is which Change-Id: I135dea142ef26912d4c4b8be1563f6c2fda3f230 --- M modules/toollabs/files/40-tools-infrastructure-banner 1 file changed, 18 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/33/69133/1 diff --git a/modules/toollabs/files/40-tools-infrastructure-banner b/modules/toollabs/files/40-tools-infrastructure-banner old mode 100644 new mode 100755 index 5a67afb..d26e9a5 --- a/modules/toollabs/files/40-tools-infrastructure-banner +++ b/modules/toollabs/files/40-tools-infrastructure-banner @@ -4,10 +4,28 @@ # This script is managed by puppet # +if [ -f /data/project/.system/.testing ];then cat <<EOF [33;1m^[0m [33;1m/ \[0m This server is part of the Tool Labs infrastructure. [33;1m/ [31m![33m \[0m [33;1m/_____\[0m "No user-serviceable parts inside." + *** This is a [32;1mtesting [0mserver *** + EOF + +exit 0 +fi + +cat <<EOF + [33;1m^[0m + [33;1m/ \[0m This server is part of the Tool Labs infrastructure. + [33;1m/ [31m![33m \[0m + [33;1m/_____\[0m "No user-serviceable parts inside." + + *** This is a [31mproduction [0mserver *** + +EOF + + -- To view, visit https://gerrit.wikimedia.org/r/69133 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I135dea142ef26912d4c4b8be1563f6c2fda3f230 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Petrb <benap...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits