On 12/09/2012 06:15 AM, Nathan Ward wrote:
If I were to set global parameters, would I need to define it like so:
Splunk-monitor {
parameter => blah
}
Splunk-user {
the_same_parameter_again => blah
}
.. or is there a way to define global configuration for the parent that
applies to both:
Splunk {
common_parameter => blah
}
I'm not expert in custom providers, but if you will write only two
custom providers, what's the problem with first approach? The KISS
principle...
Because even if second approach works, everyone reading your manifests
won't know what the *_!#($ 'Splunk' is... when you don't use it anywhere
but in that place setting the global parameters.
So in your case I would keep it simple and define it "twice", once per
resource type.
--
Jakov Sosic
www.srce.unizg.hr
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.