thias / puppet-php

Puppet module to manage PHP
Other
49 stars 67 forks source link

Allow specifying the "ensure" parameter in all calls to"package" #17

Closed MasonM closed 10 years ago

MasonM commented 10 years ago

This allows installing a specific version of PHP by passing a version string for "ensure", e.g. ensure => "5.3.3"

This is backwards-compatible, with the possible exception of the change to the php::fpm::daemon class: the $ensure parameter will now be passed straight to "package" instead of using one of "installed" or "absent". The default value for $ensure in php::fpm::daemon is "present", which I'm pretty sure is the same as "installed" for all the package providers.

thias commented 10 years ago

Looks good, thanks a lot!

tystr commented 10 years ago

:thumbsup: