example42 / puppet-php

A puppet module for php. According to Example42 NextGen spec.
Other
45 stars 62 forks source link

Calling a single PECL module fails. #29

Closed ghost closed 11 years ago

ghost commented 11 years ago

If you do the following on a fresh install of CentOS 6 with the latest git clones of puppet-php/puppi and the latest package of puppet from the puppetlabs repo:

node default {

    class { 'php': }
    php::pecl::module{'amqp': use_package => 'false'; }

}

You will get this error:

Error: /Stage[main]//Node[default]/Php::Pecl::Module[amqp]/Exec[pecl-amqp]: Could not evaluate: Could not find command 'pecl'

I've also seen an error referring to a require for php::pear not being satisfied. You need to add a one line include in pecl/module.pp of include php::pear near the one for php::devel. There's a requirement for it later but it's never actually included.

alvagante commented 11 years ago

Should be fixed now.

ghost commented 11 years ago

Cheers!

From: Alessandro Franceschi [mailto:notifications@github.com] Sent: Monday, August 05, 2013 2:49 AM To: example42/puppet-php Cc: Ryan Munz Subject: Re: [puppet-php] Calling a single PECL module fails. (#29)

Should be fixed now.

— Reply to this email directly or view it on GitHubhttps://github.com/example42/puppet-php/issues/29#issuecomment-22089549.

[http://s.wlfcdn.com/giftcards/sigs/gc.png]

Ryan Munz | Jr. Systems Admin GiftCards.com T. 877 746 6664 x9129 | M. 412-973-4422 ryan.munz@giftcards.commailto:ryan.munz@giftcards.com

THE INFORMATION CONTAINED IN THIS E-MAIL AND ANY ATTACHED DOCUMENTATION IS INTENDED FOR THE USE OF THE ADDRESSEE ONLY, IS CONFIDENTIAL AND MAY BE LEGALLY PRIVILEGED. ANY DISSEMINATION, DISTRIBUTION, COPYING, OR USE OF THIS COMMUNICATION WITHOUT PRIOR PERMISSION OF THE SENDER IS STRICTLY PROHIBITED. If you are not the intended recipient, you must not disclose, copy, distribute, or use the information contained in this e-mail. If you have received this e-mail in error, please notify us immediately by return email.