We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
did you think about providers for FPM pools and other configurations?
Like they do:
https://forge.puppetlabs.com/puppetlabs/mysql#mysql_user https://forge.puppetlabs.com/jfryman/nginx (hiera support)
the advantage is, that everybody could easily create pools etc over hiera data without a "wrapper" module / modify this modules core.
(maybe I could create a PR)
cheers
The text was updated successfully, but these errors were encountered:
for the moment I've created the class "php::fpm" (fpm.pp) and autoloading the hiera data:
class php::fpm ( #set defaults that php::fpm:config is loaded $config = {}, ) { create_resources('php_fpm', $php::fpm::config) define php_fpm( $listen, $user, ){ php::fpm::conf { $name: listen => $listen, user => $user, } } }
hiera data:
php::fpm::config: "pool1": "listen": "127.0.0.1:9001" "user": "www-data" "pool2": "listen": "127.0.0.1:9002" "user": "someuser"
Sorry, something went wrong.
No branches or pull requests
Hi,
did you think about providers for FPM pools and other configurations?
Like they do:
https://forge.puppetlabs.com/puppetlabs/mysql#mysql_user
https://forge.puppetlabs.com/jfryman/nginx
(hiera support)
the advantage is, that everybody could easily create pools etc over hiera data without a "wrapper" module / modify this modules core.
(maybe I could create a PR)
cheers
The text was updated successfully, but these errors were encountered: