Use instance variables in puppet template

Using local ruby variables in puppet ERB templates was deprecated in
puppet 3 and doesn't work any more in puppet 4. Access these values as
ruby instance variables instead.

Change-Id: I12f294d353066ff4af211b9823398a5084a585ee
This commit is contained in:
Colleen Murphy 2018-04-20 21:52:41 +02:00
parent 56e13f635a
commit cdb05c20e4
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
[projects]
homepage=http://openstack.org
acl-dir=/home/gerrit2/acls
local-git-dir=<%= local_git_dir %>
jeepyb-cache-dir=<%= jeepyb_cache_dir %>
gerrit-host=<%= fqdn %>
local-git-dir=<%= @local_git_dir %>
jeepyb-cache-dir=<%= @jeepyb_cache_dir %>
gerrit-host=<%= @fqdn %>
gerrit-user=openstack-dev-project-creator
gerrit-key=<%= ssh_project_key %>
gerrit-key=<%= @ssh_project_key %>
github-config=/etc/github/github-projects.secure.config
has-wiki=False
has-issues=False