mirror of https://github.com/zulip/zulip.git
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:
parent
111ba564ae
commit
b431b1b021
|
@ -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.
|
||||
[1;31m
|
||||
You are connected to lb0.zulip.net.
|
||||
[0m
|
||||
To connect to an app server, you need to run:
|
||||
ssh <servername>.zulip.net
|
||||
|
||||
Note the [1m.net[0m, not the .com.
|
|
@ -13,14 +13,6 @@ class zulip_ops::loadbalancer {
|
|||
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':
|
||||
ensure => 'link',
|
||||
require => Package['nginx-full'],
|
||||
|
|
Loading…
Reference in New Issue