From b445a0968c76a2e616c5694c691223bf095a198d Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Thu, 13 Aug 2015 17:19:06 -0700 Subject: [PATCH] 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 --- templates/ssh_config.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/ssh_config.erb b/templates/ssh_config.erb index d3273cf..7c7ec3a 100644 --- a/templates/ssh_config.erb +++ b/templates/ssh_config.erb @@ -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