puppet: Remove misleading motd.

This banner shows on lb1, advertising itself as lb0.  There is no
compelling reason for a custom motd, especially one which needs to
be reconfigured for each host.
This commit is contained in:
Alex Vandiver 2020-10-12 17:31:22 -07:00 committed by Tim Abbott
parent 111ba564ae
commit b431b1b021
2 changed files with 0 additions and 21 deletions

View File

@ -1,13 +0,0 @@
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

You are connected to lb0.zulip.net.

To connect to an app server, you need to run:
ssh <servername>.zulip.net
Note the .net, not the .com.

View File

@ -13,14 +13,6 @@ class zulip_ops::loadbalancer {
notify => Service['nginx'], notify => Service['nginx'],
} }
file { '/etc/motd':
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
source => 'puppet:///modules/zulip_ops/motd.lb0',
}
file { '/etc/nginx/sites-enabled/loadbalancer': file { '/etc/nginx/sites-enabled/loadbalancer':
ensure => 'link', ensure => 'link',
require => Package['nginx-full'], require => Package['nginx-full'],