Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 00b9e63

Browse files
committed
Set pecl to be the default on darwin
1 parent 914f403 commit 00b9e63

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/puppet/provider/php_extension/pecl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
include Puppet::Util::Execution
55
desc "Provides PHP extensions compiled from their pecl source code"
66

7-
defaultfor :source => :pecl
7+
defaultfor :operatingsystem => :darwin
88

99
# Build and install our PHP extension
1010
def create

lib/puppet/type/php_extension.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@
5151
defaultto ''
5252
end
5353

54-
newparam(:source) do
55-
defaultto :pecl
56-
end
57-
5854
# Some PECL modules have a different module layout and the php extension
5955
# source in not in the root directory (e.g. xhprof)
6056
newparam(:extension_dir) do

0 commit comments

Comments
 (0)