On 26/04/17 11:00, Matt wrote:
> Yes I found that finally and also .name is possible instead of .to_s.
> 
> Why is this ?

@host.architecture is an object (a model) which is not directly equal to
a string ("x86_64"). .name or .to_s return the string containing the
name of the architecture.

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to