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 know if puppet supports two sets of ::. Someone who actually knows what's going on should probably jump in, though. -Robin On Sat, Dec 27, 2008 at 12:29:13PM +0100, udo waechter wrote: > Hello, > well, I renamed sge::exechost to sge_exechost and voila it works again. > Now, it seems to me that this is a bug. > Classes that have a "similar" name do not have the "same" name, thus it > should still work, right? > Bug filed. > Thanks for the help. > udo. > On 23.12.2008, at 22:18, Robin Lee Powell wrote: > >> >> On Mon, Dec 22, 2008 at 10:05:08PM +0100, udo waechter wrote: >>> Hello puppet-users. >>> I have a really strange problem since some days. >>> puppetmasterd is 0.24.5-2 (Debian etch) >>> puppetd are 0.24.4 (Ubuntu hardy desktop/server), 0.24.5-2 (Debian >>> etch), 0.24.5 (Darwin, 10.5.[56], Darwin 10.4 Server) >>> >>> I have a class: >>> >>> class ikw::sge::exechost { >>> include sge::submithost >>> include sge::exechost >>> include sge::munin-grapher >>> include ikw::sge::exechost::common >>> } >>> >>> all include sge::* are from one module, called sge. >>> >>> Here is the strange thing: >>> >>> class sge::submithost is evaluated and everything therein is applied. >>> class sge::exechost is not evaluated and nothing is applied. >>> >>> This worked for a long time. Now, I have installed some new nodes and >>> was wondering why they did not get configured as exechosts. After >>> looking into the problem, I saw that the sge::exechost class is no >>> longer applied. >>> >>> When I enter the class sge::exechost directly in nodes.pp it works. >>> So >>> there is nothing wrong with the class as such. >> >> Pure guess here, but I noticed that you're in class class >> ikw::sge::exechost, which has a near-identical name. Try naming >> sge::exechost something else and see if that helps? >> >> -Robin >> >> -- >> They say: "The first AIs will be built by the military as weapons." >> And I'm thinking: "Does it even occur to you to try for something >> other than the default outcome?" -- http://shorl.com/tydruhedufogre >> http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ >> >> >> > > -- > :: udo waechter - r...@zoide.net :: N 52º16'30.5" E 8º3'10.1" > :: genuine input for your ears: http://auriculabovinari.de > :: your eyes: http://ezag.zoide.net > :: your brain: http://zoide.net > > > > -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" -- http://shorl.com/tydruhedufogre http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---