Re: [foreman-users] switch pxe booting to local before getting unattended/built

2016-10-15 Thread Bernard Landon
Thanks for the reply Lukas.

I solved my problem with writing a small python http server that would
change the file on the tftp server. Not super elegant but does the trick
and will be easier to maintain with my current knowledge.
 find Ruby/Rails a bit puzzling at first cause the link between the
different files / elements are implicit. I might have another look later.

Cheers,

On 11 October 2016 at 08:47, Lukas Zapletal  wrote:

> Hi,
>
> this line
>
> head(@host.built ? :created : :conflict)
>
> calls Host::Managed#built method which triggers our orchestration via
> ActiveRecord hooks. Specifically Orchestration::TFTP method setTftp.
>
> LZ
>
> --
> Later,
>  Lukas "lzap" Zapletal
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Foreman users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/foreman-users/LVjsn4p4Go0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Bernard Landon

-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] switch pxe booting to local before getting unattended/built

2016-10-10 Thread Lukas Zapletal
Hi,

this line

    head(@host.built ? :created : :conflict)

calls Host::Managed#built method which triggers our orchestration via
ActiveRecord hooks. Specifically Orchestration::TFTP method setTftp.

LZ

-- 
Later,
 Lukas "lzap" Zapletal

-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.