Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
testing
puppet-icinga2_testing
Commits
6b2fe952
Commit
6b2fe952
authored
Oct 11, 2016
by
Markus Frosch
Browse files
icingaweb2: Remove auth config from profile
parent
066f5ef6
Changes
1
Show whitespace changes
Inline
Side-by-side
manifests/profiles/icingaweb2.pp
View file @
6b2fe952
...
@@ -3,24 +3,11 @@ class icinga2_testing::profiles::icingaweb2
...
@@ -3,24 +3,11 @@ class icinga2_testing::profiles::icingaweb2
include
::icinga2_testing::profiles::apache
include
::icinga2_testing::profiles::apache
class
{
'::icingaweb2'
:
class
{
'::icingaweb2'
:
admin_users
=>
'icingaadmin'
,
auth_backend
=>
'external'
,
manage_apache_vhost
=>
true
,
manage_apache_vhost
=>
true
,
manage_repo
=>
false
,
manage_repo
=>
false
,
install_method
=>
'package'
,
install_method
=>
'package'
,
}
}
contain
::
icingaweb2
# do auto login as admin
contain
::
icingaweb2::mod::monitoring
::
apache::custom_config
{
'icingaweb2-autologin'
:
content
=>
"<Location /icingaweb2>
\n
SetEnv REMOTE_USER icingaadmin
\n
</Location>"
,
}
# redirect to icingaweb2
::
apache::custom_config
{
'icingaweb2-redirect'
:
content
=>
"RedirectMatch ^/
$
/icingaweb2/
\n
"
,
}
class
{
'::icingaweb2::mod::monitoring'
:
}
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment