Open jameskirsop opened 6 years ago
I would prefer to get rid of the streamhost resource in this module in the first place because streamhost is just a customized server
which should be configured through nginx::resource::server
in a profile.
+1 for "this would happen automatically, within the module". The module requires, and nothing else uses, the package. As a developer, I'd expect Puppet to handle this kind of dependencies.
There is alredy a parameter nginx::dynamic_modules
, which goes into nginx.conf
template. It could also go to a class such as package::modules
for this installation.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Streamhosts don't work without manually installing the mod-stream centos package.
What behaviour did you expect instead
The puppet module would install the necessary package(s) to make the configured module work.
Any additional information you'd like to impart
It would make sense to me, that this would happen automatically, within the module.
I expect this scenario is true for other nginx modules also.