Hello,

I am deploying a puppet server in order to manage a new infrastructure
running Debian.
As I am starting from scratch, I'm looking for advice on how to deal with
server roles.

I plan to create a class role::base with all default modules. So far no
issues.

But I don't know how to properly deploy modules according to the server
role. For exemple :

rsyslog configration : one server, all others  should be client.

I am thinking of doing the following :

# syslog-client  definition
node 'debian' inherits basenodeGLOBAL
{
         include role::base
         include role::syslog-client
}

# syslog server defintion

node 'debian2' inherits basenodeGLOBAL
{
         include role::base
         include role::syslog-server
}


but this mean that all my clients need to have the     include
role::syslog-client statement...

How do you guys deal with this  ?

Rsyslog was just an example, I have the same issue with ntp module...

Regards

Hugo

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAAoQnKi5T55q8vA4pWv1XBUYbE4TecyNL3R3DM6KOXBgeGS8mA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to