Skip to content
Snippets Groups Projects
Commit 734b676e authored by drebs's avatar drebs
Browse files

Configure Backports for Icinga2 in Buster

parent 68a53c4b
Branches fix-monitoring-plugins-contrib-installation
No related tags found
No related merge requests found
Pipeline #63099 passed
...@@ -2,5 +2,12 @@ ...@@ -2,5 +2,12 @@
class profile::monitoring ( class profile::monitoring (
Enum['agent', 'server'] $type = 'agent', Enum['agent', 'server'] $type = 'agent',
) { ) {
# XXX Some monitoring packages are not present in Debian Buster repository.
# This can be removed once nodes are upgraded to Bullseye.
include apt::backports
include profile::monitoring::packages
class { "profile::monitoring::${type}": } class { "profile::monitoring::${type}": }
} }
...@@ -5,8 +5,6 @@ class profile::monitoring::agent ( ...@@ -5,8 +5,6 @@ class profile::monitoring::agent (
String $ticket_salt = lookup('profile::monitoring::ticket_salt', String, 'first', 'changeme!'), String $ticket_salt = lookup('profile::monitoring::ticket_salt', String, 'first', 'changeme!'),
) { ) {
include profile::monitoring::packages
class { '::icinga2': class { '::icinga2':
features => ['mainlog'], features => ['mainlog'],
constants => { constants => {
......
...@@ -12,8 +12,6 @@ class profile::monitoring::server ( ...@@ -12,8 +12,6 @@ class profile::monitoring::server (
Boolean $tls = false, Boolean $tls = false,
) { ) {
include profile::monitoring::packages
# set up the database # set up the database
include ::mysql::server include ::mysql::server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment