On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote:
> On Tue, Nov 2, 2010 at 6:34 AM, jcbollinger <[email protected]>
wrote:
> > On Nov 1, 7:07 pm, Nigel Kersten <[email protected]> wrote:
> >> It would be great if someone could update the original bug with the
> >> position we've come to, otherwise I'll get to it in the next few days.
> >
> > Done.
> >
> >
> > John
>
> Thanks. There's one thing I'm not quite clear on.
>
> This proposal means we have concatenation and find-first-existing
> support for the source parameter, and concatenation for the template
> function, but how are we proposing we provide find-first-existing
> support for the template and file functions? Or are we dropping that
> goal?
I believe that was by either passing an array or multiple arguments, no?
E.g.:
find-first-existing:
file('foo', 'bar')
template('foo.erb', 'bar.erb')
concatenation:
concat(file('foo'), file('bar'))
concat(template('foo.erb'), template('bar.erb'))
that way you can even mix them ;)
concat(file('header'), template("foo.$host.erb", "foo.erb"))
--
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319
**********************************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee and access to the email by anyone else
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is prohibited and
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail
are subject to the terms and conditions expressed in the governing client
engagement leter or contract.
If you have received this email in error please notify
[email protected]
John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland,
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*********************************************************************************
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.