[Puppet Users] Re: Influencing a class from another one?

2009-07-06 Thread niczar
On Jul 6, 11:00 am, David Schmitt wrote: > Dick Davies wrote: > > Think he means this :http://nephilim.ml.org/~rip/puppet/concatfile/ > > > (Volcane on IRC recommended/wrote it; the idea is for e.g. each service > > that needs a firewall rule can create a fragment of an iptables config, > > which

[Puppet Users] Re: Influencing a class from another one?

2009-07-03 Thread niczar
On Jul 3, 9:56 am, David Schmitt wrote: > The rsyslog class needs to setup a way to include "foreign" > configuration statements, like by using a directory include or a > concatenated_file. Then any other class can put configuration there and > rsyslog will pick it up easily. What is a concat

[Puppet Users] Re: Influencing a class from another one?

2009-07-03 Thread niczar
On Jul 3, 12:38 am, Allan Marcus wrote: > Can you create fact that determines your condition (if ossec server is   > to be or is installed I take it)? You can then refer to the fact in   > your rsyslog code. Hm, no, whether or not ossec::server is installed is decided in my puppet config file,

[Puppet Users] Influencing a class from another one?

2009-07-02 Thread niczar
I can't figure how to do this cleanly, here's the story: I have an rsyslog class with a template generating /etc/rsyslog.conf I have some other classes (namely, ossec::server, does what it says) that need to influence what's going on inside rsyslog.conf, in particular I want local0.* not to be l