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]
username = <%= project_username %>
password = <%= project_password %>
username = <%= @project_username %>
password = <%= @project_password %>

View File

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