From c9a19628f4659b8c51ca058abb7ce878f7bfdc2a Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Mon, 22 Jul 2019 18:39:08 +0200 Subject: Add dependencies for icingaweb2 + external auth --- sitemodules/profiles/manifests/icinga2_master.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sitemodules/profiles/manifests/icinga2_master.pp b/sitemodules/profiles/manifests/icinga2_master.pp index 8e0e820..f013df8 100644 --- a/sitemodules/profiles/manifests/icinga2_master.pp +++ b/sitemodules/profiles/manifests/icinga2_master.pp @@ -88,6 +88,12 @@ class profiles::icinga2_master ( Icinga2::Object::Zone <<| |>> ~> Service['icinga2'] Icinga2::Object::Endpoint <<| |>> ~> Service['icinga2'] + package { [ + 'apache2', 'libapache2-mod-php', 'php-pgsql', 'php', 'php-cli', 'php-curl', + 'php-gd', 'php-ldap', 'php-json', 'php-intl', 'php-imagick']: + ensure => latest, + } + postgresql::server::db { 'icingaweb2': user => 'icingaweb2', password => postgresql_password( @@ -121,4 +127,8 @@ class profiles::icinga2_master ( } } } + + class { '::icingaweb2::config::authmethod': + backend => 'external', + } } -- cgit v1.2.1