From fa3e5ca2bd02e6f012557f7fe92454eff242dbb2 Mon Sep 17 00:00:00 2001 From: Jiri Pospisil Date: Fri, 8 Mar 2013 15:34:28 +0100 Subject: [PATCH] Make it possible to set MAKE_OPTS --- manifests/compile.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/compile.pp b/manifests/compile.pp index b36d113..7b1c7f9 100644 --- a/manifests/compile.pp +++ b/manifests/compile.pp @@ -10,6 +10,7 @@ $source = '', $global = false, $configure_opts = '--disable-install-doc', + $make_opts = '', ) { # Workaround http://projects.puppetlabs.com/issues/9848 @@ -61,7 +62,7 @@ user => $user, group => $group, cwd => $home_path, - environment => [ "HOME=${home_path}", "CONFIGURE_OPTS=${configure_opts}" ], + environment => [ "HOME=${home_path}", "CONFIGURE_OPTS=${configure_opts}", "MAKE_OPTS=${make_opts}" ], creates => "${versions}/${ruby}", path => $path, require => Rbenv::Plugin["rbenv::plugin::rubybuild::${user}"],