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:
Jeremy Stanley 2019-01-16 19:54:55 +00:00
parent dff34e57a7
commit ea66db19f1
1 changed files with 1 additions and 1 deletions

View File

@ -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"