diff options
author | Jan Dittberner <jandd@cacert.org> | 2019-07-22 18:39:08 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2019-07-22 18:39:08 +0200 |
commit | c9a19628f4659b8c51ca058abb7ce878f7bfdc2a (patch) | |
tree | 7dc16243bf81dc56fe5dd98c9b763c75697945fd | |
parent | 2c677b7f159604200851e3781e54dfd0a0320f55 (diff) | |
download | cacert-puppet-c9a19628f4659b8c51ca058abb7ce878f7bfdc2a.tar.gz cacert-puppet-c9a19628f4659b8c51ca058abb7ce878f7bfdc2a.tar.xz cacert-puppet-c9a19628f4659b8c51ca058abb7ce878f7bfdc2a.zip |
Add dependencies for icingaweb2 + external auth
-rw-r--r-- | sitemodules/profiles/manifests/icinga2_master.pp | 10 |
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', + } } |