hi,

I try to reorganize my filesystemstructure for Puppet and have some 
problems. I assign all my classes to the nodes via LDAP, for example: 
rsyslog::server. The problem is now, that (for example) the saz-rsyslog 
module uses the defaults (example: save logs to /srv/log), instead of using 
my one:

/etc/puppet/modules/rsyslog/init.pp

class rsyslog include rsyslog::server, rsyslog::client {
    purge_rsyslog_d => false,
}

server.pp

class rsyslog::server inherits rsyslog {
    'rsyslog::server': enable_tcp => true,
    enable_udp => true,
    enable_onefile => false,
    server_dir => '/var/log/remote/',
    }

client.pp

class rsyslog::client inherits rsyslog {
    log_remote      => true,
    remote_type     => 'udp',
    log_local       => false,
    log_auth_local  => false,
    custom_config   => undef,
    server          => 'logserver.example.com',
    port            => '514',
    preserve_fqdn   => true,
}

db.pp

class rsyslog::database inherits rsyslog {
    backend      => 'mysql',
    server      => 'localhost',
    database   => 'Syslog',
    username  => 'rsyslog',
    password => 'secret',
}

The modules are imported via: /etc/puppet/manifests/site.pp

[...]
import "rsyslog"
[...]

What I have done wrong?

Any suggestions?

cu denny

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4ed51570-c750-4787-89ed-742553301a92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to