Skip to content

Commit

Permalink
Merge pull request #356 from yastupin/puppet3_install_options
Browse files Browse the repository at this point in the history
pear/pecl: pass install_options to provider
  • Loading branch information
bastelfreak authored Jun 29, 2017
2 parents de2e0c6 + 65f5469 commit cfdcffc
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 cfdcffc

Please sign in to comment.