Skip to content

Commit 936b38c

Browse files
authored
Merge pull request #660 from mlibrary/fulcrum-badrobots-shib-take2
Move global shib settings out of the require block
2 parents efcdeb0 + 69f93a3 commit 936b38c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

manifests/profile/www_lib/vhosts/fulcrum.pp

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
String $servername = 'www.fulcrum.org'
2020
) {
2121
$authz_base_requires = {
22-
auth_type => 'shibboleth',
23-
custom_fragment => 'ShibRequestSetting requireSession 0',
2422
enforce => 'all',
2523
requires => [
2624
'not env badrobot',
@@ -90,9 +88,11 @@
9088

9189
directories => [
9290
{
93-
provider => 'location',
94-
path => '/',
95-
require => $authz_base_requires,
91+
provider => 'location',
92+
path => '/',
93+
auth_type => 'shibboleth',
94+
custom_fragment => 'ShibRequestSetting requireSession 0',
95+
require => $authz_base_requires,
9696
},
9797
{
9898
provider => 'directory',

0 commit comments

Comments
 (0)