From f95ca8feb821e45e2b0b25585dc61be31f8588c4 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Wed, 22 Jul 2015 21:32:25 -0700 Subject: [PATCH] Use instance variables in templates The use of ruby methods to access manifest variables has been deprecated and will be removed in puppet 4. This patch updates the template to use ruby instance variables to access manifest variables. Change-Id: I595a79830d2e94f0aec75f47707d3e5e3cc65523 --- templates/github-projects.secure.config.erb | 4 ++-- templates/github.secure.config.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/github-projects.secure.config.erb b/templates/github-projects.secure.config.erb index 887c2a7..8af72e7 100644 --- a/templates/github-projects.secure.config.erb +++ b/templates/github-projects.secure.config.erb @@ -1,3 +1,3 @@ [github] -username = <%= project_username %> -password = <%= project_password %> +username = <%= @project_username %> +password = <%= @project_password %> diff --git a/templates/github.secure.config.erb b/templates/github.secure.config.erb index 92e1493..7e87b5a 100644 --- a/templates/github.secure.config.erb +++ b/templates/github.secure.config.erb @@ -1,3 +1,3 @@ [github] -username = <%= username %> -oauth_token = <%= oauth_token %> +username = <%= @username %> +oauth_token = <%= @oauth_token %>