puppet-php
puppet-php copied to clipboard
puppet 4 compatibility
when running under puppet 4, i get the following error:
Warning: Scope(Php::Extension[curl]): Could not look up qualified variable 'php::apache::params::package'; class php::apache::params has not been evaluated
Error: Evaluation Error: Error while evaluating a Function Call, function 'defined' called with mis-matched arguments
expected:
defined(Variant[String, Type[CatalogEntry], Type[Type[CatalogEntry]]] vals{1,}) - arg count {1,}
actual:
defined(Undef) - arg count {1} at /etc/puppetlabs/code/environments/production/modules/php/manifests/extension.pp:105:6 on node app01.esat
hrm… now i'm wondering if this isn't maybe my special branch ~_~
I haven't dared to upgrade to puppet 4.x yet - so don't know if it works or not
it would be super nice if it did :)
yeah, i'll try fixing it over the next couple days
I running under Puppet 4.3 having no errors.