On 12.06.2012 14:45, Julien C. wrote:
> Thanks to both of you for your answers.
> I am aware of the operatingsystem and release variables, but I can't
> rely on them because servers don't always use the default syslog
> provider, as stated in my original post.
> I can't enforce the same provider on every node because it would destroy
> any customization made in the original provider's configuration.
Stop right there.
If you fear destruction of customizations through configuration
automation, then you are setting yourself up for some massive pain
short- and long-term.
The point of automation is either to get rid of these "customizations"
or codify them.
In the former case you WANT to enforce, in the latter case you need to
identify the "business" need for those customizations and extract this
information either into your ENC/hiera or other data feeder.
Best Regards, David