From 2588960cd5ecb8769d62d6fe7c955741d060da8d Mon Sep 17 00:00:00 2001 From: James Yale Date: Mon, 29 Jun 2015 10:53:14 +0100 Subject: [PATCH] Parameterise environment into install class to make bundler install work behind proxy --- manifests/install.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/install.pp b/manifests/install.pp index e5f1278..76280a6 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -21,6 +21,7 @@ $deployment = false, $without = undef, $timeout = 300, + $env = undef, ) { include bundler @@ -42,7 +43,7 @@ unless => 'bundle check', require => Package['bundler'], logoutput => on_failure, - environment => "HOME='${name}'", + environment => concat($env, "HOME=${name}"), timeout => $timeout, } }