thias / puppet-php

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

Hiera / Foreman Support #61

Open mesouug opened 9 years ago

mesouug commented 9 years ago

Good day.

First of all I would like to thank you for creating such good module. Just a small question. Do you plan to add hiera / foreman support to this module? If not please consider this ticket as feature request. :)

Thanks, Mikhail

claflico commented 9 years ago

I'm able to use php::fpm::daemon & php::cli classes with heira but cannot figure out how to use php::ini with heira.

I'm using this in a profile/role implementation and would like to be able to pass ini values based on what's in heira.

FooBarTrixibell commented 7 years ago

Just change the places with variables ie. $::php::params::common_package_name to hiera('php::params::common_package_name', $::php::params::common_package_name)

Then you can use hiera to specify the package names etc.