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:
parent
7c00a95acc
commit
f95ca8feb8
@ -1,3 +1,3 @@
|
||||
[github]
|
||||
username = <%= project_username %>
|
||||
password = <%= project_password %>
|
||||
username = <%= @project_username %>
|
||||
password = <%= @project_password %>
|
||||
|
@ -1,3 +1,3 @@
|
||||
[github]
|
||||
username = <%= username %>
|
||||
oauth_token = <%= oauth_token %>
|
||||
username = <%= @username %>
|
||||
oauth_token = <%= @oauth_token %>
|
||||
|
Loading…
Reference in New Issue
Block a user