Re: [Puppet Users] Parameterized class syntax...

2011-02-17 Thread Peter Berghold
On Thu, Feb 17, 2011 at 4:22 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > > > What version is your puppetmaster? > > the latest stable version. -- Peter L. Berghold Owner, Shark River Technical Solutions LLC -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Parameterized class syntax...

2011-02-17 Thread Felix Frank
> err: Could not retrieve catalog from remote server: Error 400 on SERVER: > Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid > resource type class at /etc/puppet/manifests/nodes/atldhost0.pp:13 on > node atldhost0.atl.sharkrivertech.com >

Re: [Puppet Users] Parameterized class syntax...

2011-02-13 Thread Jeff McCune
On Sun, Feb 13, 2011 at 11:00 AM, Peter Berghold wrote: > > > Tried putting single quotes around tthe title as follows: > class { >        'openldap::config' : >     prefix => "dc=sharkrivertech,dc=com", >          rootpw => 'xx' > } > > > When puppet is run I get: > > err:

Re: [Puppet Users] Parameterized class syntax...

2011-02-13 Thread Peter Berghold
Tried putting single quotes around tthe title as follows: class { 'openldap::config' : prefix => "dc=sharkrivertech,dc=com", rootpw => 'xx' } When puppet is run I get: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Pars

Re: [Puppet Users] Parameterized class syntax...

2011-02-12 Thread Dan Bode
On Sat, Feb 12, 2011 at 3:13 PM, Peter Berghold wrote: > Am I correct in making the observation that this: > > class openldap::config ($prefix ="dc=no,dc=domain",$rootpw="secret") { > case $operatingsytem { >Debian,Ubuntu: { class { openldap::config::debian : >

[Puppet Users] Parameterized class syntax...

2011-02-12 Thread Peter Berghold
Am I correct in making the observation that this: class openldap::config ($prefix ="dc=no,dc=domain",$rootpw="secret") { case $operatingsytem { Debian,Ubuntu: { class { openldap::config::debian : prefix => $prefix, rootpw =>