Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Sebastian Hempel
Hi Felix, > You want to include httpd, not inherit it. > > Or are there any resource overrides in your vhost classes? I > shouldn't think so. You are right. There is no reason to override the httpd class with vhost classes. I now include the httpd class and after that include the neccessary vhos

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Felix Frank
>> What exactly do you need class inheritance for in your case? You may >> be able to circumvent the inheritance using additional parameters. > > I want to assign the different virtual hosts to the nodes. By assigning > the class for the virtual host I want to have the base configuration of > the

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Sebastian Hempel
Hi Frank, > Heh - this is not at all what you originally presented. That's right. Old problem of a developer who diggs through the problem bit by bit and when asks a questions about a concrete detail. > There are two different definitions of class base? This can't be > right. Please try and illu

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Felix Frank
> class base($param1, $param2) { > ... > } > > class base { > class first inherits base { > } > } Heh - this is not at all what you originally presented. There are two different definitions of class base? This can't be right. Please try and illustrate the structure more pointedly. Otherwise

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Sebastian Hempel
Hi Felix, > What are the versions of your master and client, btw? I'm running the latest version 2.6.4 both on the master and the client / agent. Regards Sebastian -- *Sebastian Hempel* Veilchenweg 4 · 95195 Röslau · Germany eMail: sebast...@hempel-roeslau.de -- You received this message beca

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Sebastian Hempel
Hi Daniel, > Can you verify that works for you? Obviously, change my node name > to your test node name; I just wrote that to test.pp and ran 'puppet > test.pp' to verify. :) I copied the class and node to a file test.pp and run 'puppet test.pp' which successfully displayed the notice. The mech

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Felix Frank
On 12/09/2010 11:24 AM, Sebastian Hempel wrote: > Hello, > > I searched through the archive of the google group but did not found any > solution or hint for my problem. > > I want to assign the following parameterized class to a node. > > class httpd($certMail, $certOU) { > ... > } > > This

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Daniel Pittman
On Thu, Dec 9, 2010 at 21:57, Sebastian Hempel wrote: >> Here you have cert *NO E* Mail, and later you use it with an E, so I >> suspect a simple typo. > > I changed that typo - thanks - and also changed all characters to lower > case. But the error described did not disappear. > > Any ideas left

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Sebastian Hempel
Hi Daniel, > Here you have cert *NO E* Mail, and later you use it with an E, so I > suspect a simple typo. I changed that typo - thanks - and also changed all characters to lower case. But the error described did not disappear. Any ideas left? Best regards Sebastian -- *Sebastian Hempel* Veilc

Re: [Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Daniel Pittman
On Thu, Dec 9, 2010 at 21:24, Sebastian Hempel wrote: > Hello, > > I searched through the archive of the google group but did not found any > solution or hint for my problem. > > I want to assign the following parameterized class to a node. > > class httpd($certMail, $certOU) { Here you have cert

[Puppet Users] Invalid parameter when assigning parameterized class to a node

2010-12-09 Thread Sebastian Hempel
Hello, I searched through the archive of the google group but did not found any solution or hint for my problem. I want to assign the following parameterized class to a node. class httpd($certMail, $certOU) { ... } This is the node statement to assign the class to a node. node "someserver"