Dear Jeff,

I'm using Benoit Cattie's nginx module (https://github.com/
BenoitCattie/puppet-nginx) as a base. I've modified it just a bit.
Here is the module: http://pastebin.com/peymguuw
This is the template: http://pastebin.com/YAxChxKC
And this is the node: http://pastebin.com/ndb5g5Ep

I'd like to achieve to have more location part in the template with
different values. As You can see I'm using subdomains now.

Best regards,
Mate

On Jan 21, 12:07 am, Jeff McCune <j...@puppetlabs.com> wrote:
> On Thu, Jan 20, 2011 at 1:52 AM, ScOut3R
>
> <mailingl...@modernbiztonsag.org> wrote:
> > Dear List,
>
> > I consider myself a newbie and i'd like to ask the gurus how they
> > would approach the problem i'll describe here. I have a template and
> > inside it i'd like to configure more than one identical blocks. My
> > idea was to create a nested hash inside an array but the templating
> > system cannot understand this. The template is generated through a
> > define and a nested define for the blocks is also out of the question
> > if i'm correct. Is there an elegant way to do this?
>
> > Best regards,
> > Mate
>
> Could you post the example of what you tried?  This information will
> help us modify the non-working example into something that does work.
>
> -Jeff

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