On Wednesday, August 15, 2012, Douglas Garstang wrote:
> On Wed, Aug 15, 2012 at 5:03 PM, Calvin Walton
> >
> wrote:
> > On Wed, 2012-08-15 at 14:59 -0700, Douglas Garstang wrote:
> >> On Wed, Aug 15, 2012 at 2:58 PM, Douglas Garstang
> >> Oops.Typo in paste.I actually used
> >>
> >> $foo = inlin
On Wed, Aug 15, 2012 at 5:03 PM, Calvin Walton wrote:
> On Wed, 2012-08-15 at 14:59 -0700, Douglas Garstang wrote:
>> On Wed, Aug 15, 2012 at 2:58 PM, Douglas Garstang
>> Oops.Typo in paste.I actually used
>>
>> $foo = inline_template("<%= [$pvdisks] %>.length")
>
> You seem to be misunderstanding
On Wed, 2012-08-15 at 14:59 -0700, Douglas Garstang wrote:
> On Wed, Aug 15, 2012 at 2:58 PM, Douglas Garstang
> Oops.Typo in paste.I actually used
>
> $foo = inline_template("<%= [$pvdisks] %>.length")
You seem to be misunderstanding how erb templates work; I strongly
recommend that you go and r
On 16 Aug 2012, at 00:07, Douglas Garstang wrote:
> On Wed, Aug 15, 2012 at 3:05 PM, Tom De Vylder wrote:
>>
>> On 15 Aug 2012, at 23:58, Douglas Garstang wrote:
>>
>>> On Wed, Aug 15, 2012 at 2:55 PM, Ryan Coleman wrote:
On Wed, Aug 15, 2012 at 2:51 PM, Douglas Garstang
wrote:
>>>
On Wed, Aug 15, 2012 at 3:05 PM, Tom De Vylder wrote:
>
> On 15 Aug 2012, at 23:58, Douglas Garstang wrote:
>
>> On Wed, Aug 15, 2012 at 2:55 PM, Ryan Coleman wrote:
>>> On Wed, Aug 15, 2012 at 2:51 PM, Douglas Garstang
>>> wrote:
How do I get get length of an array in puppet DSL?
>>>
>>> H
On 15 Aug 2012, at 23:58, Douglas Garstang wrote:
> On Wed, Aug 15, 2012 at 2:55 PM, Ryan Coleman wrote:
>> On Wed, Aug 15, 2012 at 2:51 PM, Douglas Garstang
>> wrote:
>>> How do I get get length of an array in puppet DSL?
>>
>> Hi Doug,
>>
>> You can install the puppetlabs-stdlib module from
On Wed, Aug 15, 2012 at 2:58 PM, Douglas Garstang
wrote:
> On Wed, Aug 15, 2012 at 2:55 PM, Ryan Coleman wrote:
>> On Wed, Aug 15, 2012 at 2:51 PM, Douglas Garstang
>> wrote:
>>> How do I get get length of an array in puppet DSL?
>>
>> Hi Doug,
>>
>> You can install the puppetlabs-stdlib module
On Wed, Aug 15, 2012 at 2:55 PM, Ryan Coleman wrote:
> On Wed, Aug 15, 2012 at 2:51 PM, Douglas Garstang
> wrote:
>> How do I get get length of an array in puppet DSL?
>
> Hi Doug,
>
> You can install the puppetlabs-stdlib module from the Forge and use
> the size function.
>
Ryan,
No thanks. I'
On Wed, Aug 15, 2012 at 2:51 PM, Douglas Garstang
wrote:
> How do I get get length of an array in puppet DSL?
Hi Doug,
You can install the puppetlabs-stdlib module from the Forge and use
the size function.
Forge page: http://forge.puppetlabs.com/puppetlabs/stdlib
The raw function code:
https://