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',