Correct auth_openid scope in survey vhost
With the move to Puppet 4, vhost config templates fail to find relative references to class parameters within a vhost resource scope. Be explicit about the scope for the auth_openid parameter in the survey class from within its associated vhost config template so that it will be correctly found. Change-Id: I7c769849449b304193e3eb41d129364817d7db1f
This commit is contained in:
parent
dff34e57a7
commit
ea66db19f1
@ -24,7 +24,7 @@
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<% if @auth_openid != nil %>
|
||||
<% if scope.lookupvar("openstack_project::survey::auth_openid") != nil %>
|
||||
<Location /index.php/admin/>
|
||||
AuthType OpenID
|
||||
AuthName "Welcome"
|
||||
|
Loading…
Reference in New Issue
Block a user