[Puppet Users] Conditional statement =,<,> etc.

2013-06-27 Thread David Jarosch
Hello guys :), I'm kind of new to Puppet and stuck in defining a conditional statement. Here my problem: I want to provide different apt/source.list for different versions of Debian, 6.0.x and 7.0.x, which also run different versions of Puppet, 2.7.x and 3.2.x. My first idea was to use facters

[Puppet Users] Dividing init.pp into components

2014-01-16 Thread David Jarosch
Hey guys, I'm having some problems dividing my init.pp into components like package.pp, config.pp and service.pp. Unfortunately I'm getting several error's after running puppet-lint like: ERROR: nrpe::package not in autoload module layout on line 1 ERROR: nrpe::service not in autoload module la

[Puppet Users] Re: Dividing init.pp into components

2014-01-16 Thread David Jarosch
BTW: Puppet parser show's following error: puppet parser validate /etc/puppet/git/modules/nrpe/manifests/init.pp Error: Could not parse for environment production: Could not match '::nrpe::package': at /etc/puppet/git/modules/nrpe/manifests/init.pp:2 On client machine: Error: Could not retriev

[Puppet Users] Divide init.pp into components

2014-01-16 Thread David Jarosch
Hey guys, I'm having some problems dividing my init.pp into components like package.pp, config.pp and service.pp. Unfortunately I'm getting several error's after running puppet-lint like: ERROR: nrpe::package not in autoload module layout on line 1 ERROR: nrpe::service not in autoload module la

[Puppet Users] Re: Divide init.pp into components

2014-01-16 Thread David Jarosch
in puppet.conf, as notice you're using /etc/puppet/git/modules, rather than > the normal /etc/puppet/modules. > > HTH > Gavin > > On Thursday, 16 January 2014 11:16:02 UTC, David Jarosch wrote: >> >> Hey guys, >> >> I'm having some problems div

[Puppet Users] Re: Divide init.pp into components

2014-01-16 Thread David Jarosch
in puppet.conf, as notice you're using /etc/puppet/git/modules, rather than > the normal /etc/puppet/modules. > > HTH > Gavin > > On Thursday, 16 January 2014 11:16:02 UTC, David Jarosch wrote: >> >> Hey guys, >> >> I'm having some problems div

[Puppet Users] Re: Divide init.pp into components

2014-01-16 Thread David Jarosch
Unfortunately this didn't solve the problem. Maybe it help's to see how I'm including the modules. I have an origin.pp file /etc/puppet/git/manifests/origin.pp which include modules, that are used by all of my servers: ### BASE DEFINITION WHICH ALL OTHER NODES INHERITS FROM ### node 'origin' {

[Puppet Users] Re: Divide init.pp into components

2014-01-16 Thread David Jarosch
Sorry, but I'm a little bit pissed off. It seem's that this problem is caused by my keyboard and some kind of keyboard char coding/interpreting or something. This char ' was somehow interpreted different then in the Pro Puppet 2nd edition book which also look's exactly the same! I've copied th