[Puppet Users] Problem with jlyheden/puppet-tcpwrapper and Concat

2013-04-11 Thread Denny Schierz
hi, I want to use the jlyheden/puppet-tcpwrapper module for my hosts.allow/deny but I can't get it working. On the puppet client (called with name "fai") I get: -- err: Could not run Puppet configuration client: Could not find dependent Exec[concat_] for File[/var/lib/puppet/concat//

[Puppet Users] Basic question -> LDAP: puppetclass ryslog::server vs. modules/ryslog/server.pp

2014-03-19 Thread Denny Schierz
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 o

[Puppet Users] Syntax problem, if/case in class section for $hostname

2016-02-14 Thread Denny Schierz
hi, I try to get an if/case thing working, but I always get a syntax error. We have something like that for an user: modules/users/manifests/fbar.pp class users::fbar ( $ensure = present, $groups = [ 'develop' ] ) { case $ensure { present: { users::add

Re: [Puppet Users] Syntax problem, if/case in class section for $hostname

2016-02-15 Thread Denny Schierz
hi, in the last 5 min I was able to solve my problem. The problem was that I wanted to override a parameterized class .. my solution is is now: class users::fbar::params { if ($::hostname =~ /^devpc21+(\d+)./) { $groups = [ 'admin' ] } else { $groups = [ 'devel' ] } } cl