[Puppet Users] Re: class from module not evaluated any more

2008-12-28 Thread Robin Lee Powell
It seems like you don't know that :: has special meaning? If you do this: class foo { class bar { } } then you can refer to the inner class as foo::bar. By naming a class manually with ::, it seems like you might be confusing puppet, especially with more than one set of ::. I don't kn

[Puppet Users] Re: class from module not evaluated any more

2008-12-28 Thread udo waechter
Hmm, that is really strange, since according to: http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation and especially the "Module Lookup" section on that page, I got the impression that this naming scheme is perfectly valid. Also, I remember from the discussion about CommonModules, that p

[Puppet Users] Re: passenger problems

2008-12-28 Thread Jeff Frost
On Fri, Dec 26, 2008 at 10:23 AM, Jeff wrote: > I was trying to follow the passenger howto and while passenger seems > to be answering properly for the puppetmaster, the puppet clients all > complain with this error: > > Could not describe /files/etc/portage/package.keywords: Wrong content- > typ

[Puppet Users] Using an Exec inside a define

2008-12-28 Thread Ben Beuchler
I'm working on a definition for activating/deactivating Apache modules on an Ubuntu system. Inside my Apache class I have this definition: define module($ensure) { case $ensure { enabled: { exec { "a2enmod": command => "/usr/sbin/a2enmod $na

[Puppet Users] Re: Using an Exec inside a define

2008-12-28 Thread RijilV
2008/12/28 Ben Beuchler > > I was under the impression that Exec expressly allows duplicate > definitions. What am I misunderstanding? Is there a better way to > structure this definition? > Ah, nope. No resource title can be duplicated, exec isn't an exception. Is there somewhere you read