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 state missing channel argument #13774

Closed
ryan-lane opened this Issue Jun 26, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@ryan-lane
Contributor

ryan-lane commented Jun 26, 2014

When installing via pecl it's possible to specify the channel in the package name, for instance:

Ensure phing pear module is installed:
  pecl.installed:
    - name: pear.phing.info/phing
    - version: 2.4.14
    - preferred_state: stable

But the state will fail because it does a pecl list and doesn't see the module installed. This is because you need to specify the channel when using list:

pecl list -c pear.phing.info

It would be ideal to be able to specify the channel:

Ensure phing pear module is installed:
  pecl.installed:
    - name: phing
    - channel: pear.phing.info
    - version: 2.4.14
    - preferred_state: stable
@ryan-lane

This comment has been minimized.

Contributor

ryan-lane commented Jun 26, 2014

Alternatively, when specifying the channel in the package name, the state could parse the channel out of the name. Looking at how the execution module is implemented, this may be the easiest method.

@basepi

This comment has been minimized.

Member

basepi commented Jun 26, 2014

Sounds great! Looks like you even have a pull request in, which is great!

@basepi basepi added Bug and removed Bug labels Jun 26, 2014

@basepi basepi added this to the Approved milestone Jun 26, 2014

@ryan-lane ryan-lane closed this Jun 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment