From e6bae4f1dd1efcb714cd4cfdcd5a2f801a34de46 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 9 Jul 2021 16:54:28 -0700 Subject: [PATCH] puppet: Remove zulip::nagios class. 93f62b999ed8 removed the last file in puppet/zulip/files/nagios_plugins/zulip_nagios_server, which means the singular rule in zulip::nagios no longer applies cleanly. Remove the `zulip::nagios` class, as it is no longer needed. --- puppet/zulip/manifests/nagios.pp | 15 --------------- puppet/zulip_ops/manifests/profile/nagios.pp | 1 - 2 files changed, 16 deletions(-) delete mode 100644 puppet/zulip/manifests/nagios.pp diff --git a/puppet/zulip/manifests/nagios.pp b/puppet/zulip/manifests/nagios.pp deleted file mode 100644 index f8a8fb9cfa..0000000000 --- a/puppet/zulip/manifests/nagios.pp +++ /dev/null @@ -1,15 +0,0 @@ -# This manifest installs Zulip's Nagios plugins intended to be on -# localhost on a Nagios server. -# -# Depends on zulip::profile::base to have installed `monitoring-plugins-basic`. -class zulip::nagios { - file { "${zulip::common::nagios_plugins_dir}/zulip_nagios_server": - require => Package[$zulip::common::nagios_plugins], - recurse => true, - purge => true, - owner => 'root', - group => 'root', - mode => '0755', - source => 'puppet:///modules/zulip/nagios_plugins/zulip_nagios_server', - } -} diff --git a/puppet/zulip_ops/manifests/profile/nagios.pp b/puppet/zulip_ops/manifests/profile/nagios.pp index 3875b56085..7b8c57533a 100644 --- a/puppet/zulip_ops/manifests/profile/nagios.pp +++ b/puppet/zulip_ops/manifests/profile/nagios.pp @@ -1,7 +1,6 @@ class zulip_ops::profile::nagios { include zulip_ops::profile::base include zulip_ops::apache - include zulip::nagios $nagios_packages = [# Packages needed for Nagios 'nagios3',