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:
Colleen Murphy 2018-04-19 23:15:40 +02:00
parent 79471eb220
commit b306534ff9
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
[client]
host=<%= database_host %>
user=<%= database_user %>
password=<%= database_password %>
host=<%= @database_host %>
user=<%= @database_user %>
password=<%= @database_password %>