summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/manifests/icinga2_master.pp
diff options
context:
space:
mode:
Diffstat (limited to 'sitemodules/profiles/manifests/icinga2_master.pp')
-rw-r--r--sitemodules/profiles/manifests/icinga2_master.pp10
1 files changed, 10 insertions, 0 deletions
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',
+ }
}