Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PECL/Extension checks for beta packages #73

Closed
pkordylewski opened this issue Mar 25, 2015 · 6 comments
Closed

PECL/Extension checks for beta packages #73

pkordylewski opened this issue Mar 25, 2015 · 6 comments
Labels
needs-help Extra attention is needed

Comments

@pkordylewski
Copy link

Howdy,

i have the following hiera file (snippet):

php::extensions:
  geoip:
    provider: pecl

When i run puppet multiple times i always get:

Notice: /Stage[main]/Php/Php::Extension[geoip]/Package[pecl-geoip]/ensure: ensure changed '1.0.8' to '1.1.0'

The installed version is still 1.0.8:

Package   Version State
geoip     1.0.8   stable

Version 1.1.0 of geoip is in beta state. I get the same with other packages (e.g. memcache).

Is this a hiera configuration mistake by me?

Thanks,
Patryk

@fpletz
Copy link
Contributor

fpletz commented Mar 25, 2015

If I remember correctly this is a problem with the information we can get from pecl in the pecl package provider. @globin what's your take on this?

@pkordylewski As a quick fix, you could try to set the ensure parameter of the extension to the specific version '1.0.8'.

@pkordylewski
Copy link
Author

Hi,

sorry for my late response. Your quick fix does work for the pecl provider. But for pear packages (like Benchmark or Phing) this doesn't work. I'm a bit confused why i'm using the not documented "pear" provider... :-(

php::extensions:
  phing:
    provider: pear
    source: pear.phing.info/phing
  benchmark:
    provider: pear
    source: pear.php.net/benchmark

But "ensure: VERSION" has no effect for "pear" provider. I still get on every run:

Notice: /Stage[main]/Php/Php::Extension[benchmark]/Package[php5-benchmark]/ensure: created
Info: Php::Extension[benchmark]: Scheduling refresh of Service[php5-fpm]
Notice: /Stage[main]/Php/Php::Extension[phing]/Package[php5-phing]/ensure: created
Info: Php::Extension[phing]: Scheduling refresh of Service[php5-fpm]
Notice: /Stage[main]/Php::Fpm::Service/Service[php5-fpm]: Triggered 'refresh' from 2 events

Any hints?

Thanks,
Patryk

@pkordylewski
Copy link
Author

Any news on this?

@fpletz
Copy link
Contributor

fpletz commented Mar 24, 2016

Sorry, we currently don't have time to fix this.

@fpletz fpletz added confirmed needs-help Extra attention is needed labels Mar 24, 2016
@leshiynyc
Copy link

leshiynyc commented Mar 5, 2018

Hi,

Any update on this ?

as a work around I followed this tutorial to create rpm packages from PEAR ones.
https://meghprkh.github.io/blog/2014/12/17/Creating-an-RPM-package-for-a-PHP-PEAR-module/

@SimonHoenscheid
Copy link
Member

Is this still a thing? Otherwise please close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-help Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants