Fix template variables

Using ruby methods to access manifest variables is deprecated in puppet
3 and will be removed in puppet 4. This patch fixes the templates to
use ruby instance variables instead.

Change-Id: I7f9890379b3b79b947ddbf3e8c3fb129a0f04bb9
This commit is contained in:
Colleen Murphy 2015-08-13 17:19:06 -07:00
parent fd5702d378
commit b445a0968c

View File

@ -1,7 +1,7 @@
Host review
Hostname <%= gerrit_url %>
Port <%= gerrit_port %>
User <%= gerrit_user %>
Hostname <%= @gerrit_url %>
Port <%= @gerrit_port %>
User <%= @gerrit_user %>
AddressFamily inet
IdentityFile /var/lib/reviewday/.ssh/id_rsa
UserKnownHostsFile /var/lib/reviewday/.ssh/known_hosts