Hi, A quick "Hello" to every as this is my first post on the Puppet Users group.
I had some training with Teyo in London recently and am busy evaluating Puppet to replace a config engine developed for internal use at my company. Question: Is it possible to refer to variables declared inside realised definitions? Here's a basic example of how to refer to variables defined inside the scope of a class that is not your own :- test.pp ---------- class foo { $bar = 'baz' } include foo notice("$foo::bar") output :- ---------- notice: Scope(Class[main]): baz Is there any equivalent syntax for definitions along the lines of :- $foo['somename']::bar Is it possible to do something similar with definitions or is this just abuse of Puppet principles ;-) Basically what I'm trying to achieve is the set up of a bunch of scopes with variables in them. These are then combined in various ways to configure multiple instances of an application on a individual system (of which there may be many). It's proving to be tougher than I thought ;-) Any thoughts or suggestions on the direction I could take from here? Regards, David Moss --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---