Skip to content

Commit

Permalink
pear/pecl: pass install_options to provider
Browse files Browse the repository at this point in the history
  • Loading branch information
yastupin committed Jun 29, 2017
1 parent de2e0c6 commit 65f5469
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions manifests/extension.pp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
$settings_prefix = false,
$sapi = 'ALL',
$responsefile = undef,
$install_options = undef,
) {

if ! defined(Class['php']) {
Expand Down Expand Up @@ -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'],
],
Expand Down

0 comments on commit 65f5469

Please sign in to comment.