> Hi,
>
> I'm going to migrate host-based variables from yaml file to foreman
> database. And first problem I hit is: what to do with complex yaml
> structures like that:
>
> some_variable:
> var:
> - some_var: 1
> - some_var: 2
> var2:
> some_var2: 1:
> sometest: abc
>
> What is the best practice to deal with it?
>
Foreman 1.1 (the current nightlights) support complex data structures,
arrays etc (using smart vars / paramtereized classes)
Ohad
···
On Thu, Nov 22, 2012 at 12:54 PM, Andrii Grytsenko wrote:
Thank you,
Andrii
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/zTwPvlg2zQcJ.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
Thank you a lot, that's what I was looking for.
···
On Thursday, November 22, 2012 2:44:56 PM UTC+1, ohad wrote:
>
>
>
>
> On Thu, Nov 22, 2012 at 12:54 PM, Andrii Grytsenko <l0n3r...@gmail.com > > wrote:
>
>> Hi,
>>
>> I'm going to migrate host-based variables from yaml file to foreman
>> database. And first problem I hit is: what to do with complex yaml
>> structures like that:
>>
>> some_variable:
>> var:
>> - some_var: 1
>> - some_var: 2
>> var2:
>> some_var2: 1:
>> sometest: abc
>>
>> What is the best practice to deal with it?
>>
>
> Foreman 1.1 (the current nightlights) support complex data structures,
> arrays etc (using smart vars / paramtereized classes)
>
> Ohad
>
>>
>> Thank you,
>> Andrii
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Foreman users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/foreman-users/-/zTwPvlg2zQcJ.
>> To post to this group, send email to forema...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to
>> foreman-user...@googlegroups.com .
>> For more options, visit this group at
>> http://groups.google.com/group/foreman-users?hl=en.
>>
>
>