Update template to use instance variables
Using methods to access in-scope variables from puppet templates has been deprecated since puppet 3.2.0[1] and causes warnings to be emitted in logs. In puppet 4 this functionality was removed entirely. This patch updates the accessbot.confg template to use instance variables as recommended in the puppet documentation[2]. [1] https://projects.puppetlabs.com/issues/19058 [2] https://docs.puppetlabs.com/guides/templating.html#referencing-variables Change-Id: I7af52e32322333879eef946443620e09a726dd57
This commit is contained in:
parent
7171b86943
commit
4d84c48211
@ -1,5 +1,5 @@
|
||||
[ircbot]
|
||||
nick=<%= nick %>
|
||||
pass=<%= password %>
|
||||
server=<%= server %>
|
||||
nick=<%= @nick %>
|
||||
pass=<%= @password %>
|
||||
server=<%= @server %>
|
||||
port=6697
|
||||
|
Loading…
x
Reference in New Issue
Block a user