not sure what you mean, read the article carefully. All the required
snippets are either in the article, or distributed with Foreman itself
(you will find all the snippets in the Provisioning Templates section of
The etc-host snippet is used in the template using this code:
what you see here is a provisioning (or finish) template which is
executed during provisioning phase. Therefore, yes, Foreman takes care
Not sure what you ask. Where should you place what? Hosts file?
On Tue, Aug 20, 2013 at 02:51:40AM -0700, AlanC wrote:
> Hi Lukas,
> The provisioning template was set up using the blog as a reference.
> With reference to the following,
> cat > /etc/hosts < <%= snippets "etc-hosts" %>
> <% end -%>
> "cats /etc/hosts", may I know where should I place the host file in ? Is
> this some where that can be done via foreman or puppet?
> 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@example.com.
> To post to this group, send email to firstname.lastname@example.org.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/groups/opt_out.