mirror of https://github.com/zulip/zulip.git
puppet: Remove "ensure => absent" rules which have all been applied.
This commit is contained in:
parent
e7cecc989f
commit
d0de66b273
|
@ -144,14 +144,6 @@ class zulip_ops::profile::base {
|
||||||
source => 'puppet:///modules/zulip_ops/nagios_authorized_keys',
|
source => 'puppet:///modules/zulip_ops/nagios_authorized_keys',
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/usr/local/sbin/zulip-ec2-configure-interfaces':
|
|
||||||
ensure => absent,
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/etc/network/if-up.d/zulip-ec2-configure-interfaces_if-up.d.sh':
|
|
||||||
ensure => absent,
|
|
||||||
}
|
|
||||||
|
|
||||||
file { '/etc/chrony/chrony.conf':
|
file { '/etc/chrony/chrony.conf':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
|
|
|
@ -21,11 +21,6 @@ class zulip_ops::profile::prometheus_server {
|
||||||
target => "${dir}/promtool",
|
target => "${dir}/promtool",
|
||||||
require => Zulip::External_Dep['prometheus'],
|
require => Zulip::External_Dep['prometheus'],
|
||||||
}
|
}
|
||||||
# This was moved to an external dep in 2021/12, and the below can be
|
|
||||||
# removed once the prod server has taken the update.
|
|
||||||
file { '/srv/prometheus':
|
|
||||||
ensure => absent,
|
|
||||||
}
|
|
||||||
|
|
||||||
file { $data_dir:
|
file { $data_dir:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
|
|
|
@ -14,12 +14,6 @@ class zulip_ops::prometheus::node {
|
||||||
tarball_prefix => "node_exporter-${version}.linux-${zulip::common::goarch}",
|
tarball_prefix => "node_exporter-${version}.linux-${zulip::common::goarch}",
|
||||||
}
|
}
|
||||||
|
|
||||||
# This was moved to an external_dep in 2021/12, and these lines can
|
|
||||||
# be removed once all prod hosts no longer have this file.
|
|
||||||
file { '/usr/local/bin/node_exporter':
|
|
||||||
ensure => absent,
|
|
||||||
}
|
|
||||||
|
|
||||||
zulip_ops::firewall_allow { 'node_exporter': port => '9100' }
|
zulip_ops::firewall_allow { 'node_exporter': port => '9100' }
|
||||||
file { "${zulip::common::supervisor_conf_dir}/prometheus_node_exporter.conf":
|
file { "${zulip::common::supervisor_conf_dir}/prometheus_node_exporter.conf":
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|
Loading…
Reference in New Issue