I still can't find if external node support array parameters and if so how
to put it into yaml output
to be read as array.

anyone knows if it is supported by ExternalNode ?

Moty

On Sun, Sep 6, 2009 at 1:11 PM, Moty <mot...@gmail.com> wrote:

> In puppet you can (I use 0.24,8).
>
> I do it now in my infrastructure.pp file and then depend on the role of the
> node I add values
> to it with the += sign.
>
> Moty
>
>
> On Sun, Sep 6, 2009 at 12:46 PM, Ohad Levy <ohadl...@gmail.com> wrote:
>
>> just to be sure, are you asking if you can define  a external node
>> parameter which is an array?
>>
>> hmm.. never tried that, you can always use the split function (now native
>> within 0.25)
>> for example, if you have a parameter letters and its value is a,b,d,e
>> you could do:
>>
>> file{split(letters,","): ensure => present }
>>
>> anyone knows if you can define a array in parameters?
>>
>> Cheers,
>> Ohad
>>
>>
>> On Sun, Sep 6, 2009 at 4:39 PM, Moty <mot...@gmail.com> wrote:
>>
>>>
>>>
>>> gr8 . Just installed it and I can see new fields.
>>>
>>> Going to move some nodes into external nodes....
>>>
>>> I wonder...
>>>
>>> Is it be possible to concatenate arrays ? I mean that there will be
>>> ability to change the "=" into "+="
>>> so at the host level I can add values to arrays defined in the group
>>> level.
>>>
>>>
>>>
>>> On Sep 5, 7:50 pm, Ohad Levy <ohadl...@gmail.com> wrote:
>>> > Hi Moty,
>>> >
>>> > I've implemented option number 2, see:
>>> http://github.com/ohadlevy/gni/commit/086ec942631cd083d2ba2cde3fe9262...
>>> >
>>> > I've also added parameters inheritance, that means that you can define
>>> a
>>> > parameter which is valid though the group, e.g. max = 50 for the group,
>>> but
>>> > max=20 to a specific node which is in the group (just create another
>>> param
>>> > with the same name).
>>> >
>>> > Cheers,
>>> > Ohad
>>> >
>>> > On Wed, Sep 2, 2009 at 4:34 PM, Moty <mot...@gmail.com> wrote:
>>> >
>>> > > gr8 news :-)
>>> >
>>> > > On Wed, Sep 2, 2009 at 10:51 AM, Ohad Levy <ohadl...@gmail.com>
>>> wrote:
>>> >
>>> > >> On Wed, Sep 2, 2009 at 3:28 PM, Moty <mot...@gmail.com> wrote:
>>> >
>>> > >>> ...
>>> > >>> Does node classification planned for gni ? I mean the ability to
>>> define a
>>> > >>> group of nodes with some variables that all nodes
>>> > >>> in the group will inherits.
>>> >
>>> > >> Sure, GNI is a node classifier solution.
>>> > >> I will implement two options:
>>> > >> 1.host name based (e.g. all hosts that are called xyz will be
>>> associated
>>> > >> with certain groups)
>>> > >> 2. selectable groups (e.g. what you call node inheritance).
>>> >
>>> > >> cheers,
>>> > >> Ohad
>>> >
>>> > > --
>>> >
>>> > > Moty
>>> >
>>> >
>>>
>>>
>>
>> >>
>>
>
>
> --
>
> Moty
>



-- 

Moty

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