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

Commit

Permalink
Merge pull request #45 from boxen/fixproviders
Browse files Browse the repository at this point in the history
Set PECL to be the default extension provider
  • Loading branch information
mattheath committed Aug 2, 2014
2 parents 4b0ed43 + 00b9e63 commit 16d0af4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/php_extension/pecl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
include Puppet::Util::Execution
desc "Provides PHP extensions compiled from their pecl source code"

defaultfor :source => :pecl
defaultfor :operatingsystem => :darwin

# Build and install our PHP extension
def create
Expand Down
4 changes: 0 additions & 4 deletions lib/puppet/type/php_extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@
defaultto ''
end

newparam(:source) do
defaultto :pecl
end

# Some PECL modules have a different module layout and the php extension
# source in not in the root directory (e.g. xhprof)
newparam(:extension_dir) do
Expand Down

0 comments on commit 16d0af4

Please sign in to comment.