Open pythianali opened 10 years ago
Hi pythianali - I'm new to Puppet and was having the same issue so I raised the question here: http://serverfault.com/questions/625084/configure-dependency-of-a-puppet-module
Apparently configuring a module's dependency is something that can't be done (or not done easily) with Puppet. My takeaway on this is to keep the configuration shallow and not expect module providers to also expose bits of their dependent module's interfaces.
I fixed my problem by putting this after my class declaration for kibana. This configures Apache directly (almost) exactly how the example42/kibana module does it:
apache::vhost { "logs.${::domain}":
vhost_name => "*",
port => '80',
docroot => '/opt/kibana-3.1.0',
}
Ish-0 I'll have to try this, thanks!
Self explanatory, it would be useful to be able to run on a nonstandard port if desired