From 65f5469df1ac2df940d186ee1135fbc8be206ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Barboiron?= Date: Thu, 29 Jun 2017 17:09:38 +0200 Subject: [PATCH] pear/pecl: pass install_options to provider --- manifests/extension.pp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/manifests/extension.pp b/manifests/extension.pp index dda8456e..1217903b 100644 --- a/manifests/extension.pp +++ b/manifests/extension.pp @@ -71,6 +71,7 @@ $settings_prefix = false, $sapi = 'ALL', $responsefile = undef, + $install_options = undef, ) { if ! defined(Class['php']) { @@ -110,11 +111,12 @@ if $provider == 'pecl' or $provider == 'pear' { ensure_packages( [ $real_package ], { - ensure => $ensure, - provider => $provider, - source => $real_source, - responsefile => $responsefile, - require => [ + ensure => $ensure, + provider => $provider, + source => $real_source, + responsefile => $responsefile, + install_options => $install_options, + require => [ Class['::php::pear'], Class['::php::dev'], ],