From 0fbe0727479396c3c9aab3bc92cacca3e3b52889 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Tue, 9 Sep 2014 16:27:26 +0200 Subject: [PATCH] Profile `icingaweb2_dev': add config file 'authentication.ini' refs #6842 --- .../files/etc/icingaweb/authentication.ini | 13 +++++++++++++ .../profiles/icingaweb2_dev/manifests/init.pp | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/authentication.ini diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/authentication.ini b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/authentication.ini new file mode 100644 index 000000000..2e78afb1b --- /dev/null +++ b/.vagrant-puppet/profiles/icingaweb2_dev/files/etc/icingaweb/authentication.ini @@ -0,0 +1,13 @@ +[autologin] +backend = autologin +; +; If you want to strip the domain +; strip_username_regexp = /\@[^$]+$/ + +[icingaweb-mysql] +backend = db +resource = icingaweb-mysql + +[icingaweb-pgsql] +backend = db +resource = icingaweb-pgsql diff --git a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp index 05f2f098e..8ef6ae57e 100644 --- a/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp +++ b/.vagrant-puppet/profiles/icingaweb2_dev/manifests/init.pp @@ -50,7 +50,9 @@ class icingaweb2_dev { group => 'apache', } - icingaweb2::config { 'authentication': } + icingaweb2::config { 'authentication': + source => 'puppet:///modules/icingaweb2_dev', + } icingaweb2::config { 'resources': source => 'puppet:///modules/icingaweb2_dev',