Use instance variables in templates

The use of ruby methods to access manifest variables has been
deprecated and will be removed in puppet 4. This patch updates the
template to use ruby instance variables to access manifest
variables.

Change-Id: I595a79830d2e94f0aec75f47707d3e5e3cc65523
This commit is contained in:
Colleen Murphy 2015-07-22 21:32:25 -07:00
parent 7c00a95acc
commit f95ca8feb8
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
[github] [github]
username = <%= project_username %> username = <%= @project_username %>
password = <%= project_password %> password = <%= @project_password %>

View File

@ -1,3 +1,3 @@
[github] [github]
username = <%= username %> username = <%= @username %>
oauth_token = <%= oauth_token %> oauth_token = <%= @oauth_token %>