On Jul 5, 11:45 pm, Erik <paleh...@gmail.com> wrote:
> I'm a puppet n00b trying to write an ENC, and I'm a bit stumped.
> Here's the scenario:
>
> I have an app which is started via inittab, and a parameterized class
> which accepts several arguments (inittab label, log dir, version, etc)
> which it uses to ensure that the app is installed, that certain
> directories are created, inittab entries are added, etc. This app has
> several instances, each of which is deployed to a group of hosts. Some
> of these groups of hosts overlap, meaning that multiple instances can
> run on a given host. My dilemma is that this makes returning the
> proper YAML from a perl script impractical as the class names are the
> keys. So when multiple instances of an app need to be installed on the
> same node... well, you can't. Key names must be unique.
>
> A more elegant way must exist to do what I need to do, I'm just not
> seeing it. Any ideas?

Hmm... This seems to have been already addressed in a reply posted
almost at the same as I sent this message:

http://groups.google.com/group/puppet-users/browse_thread/thread/d9fe1204cfbffb0b

For some reason I did not notice the original post when I was browsing
the list via the web interface. Sorry for the additional noise, and
thanks to Dan for his reply in that thread.

-- 
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.

Reply via email to