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: I6dd414a630de50819e1bed68441c891117386360
This commit is contained in:
parent
79471eb220
commit
b306534ff9
@ -1,4 +1,4 @@
|
||||
[client]
|
||||
host=<%= database_host %>
|
||||
user=<%= database_user %>
|
||||
password=<%= database_password %>
|
||||
host=<%= @database_host %>
|
||||
user=<%= @database_user %>
|
||||
password=<%= @database_password %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user