On 25/05/17 17:44, Peter Bittner wrote:
> 
> 
>         >  2. What is the cleanest path to add the Foreman host to the
>         Puppet
>         >     configuration? (I'm not sure how the foreman-answers.yaml is
>         >     integrated, and whether I should copy everything over from
>         >     /usr/share/foreman-installer/
>         >     modules)
> 
>         Probably not to use the installer and to use the modules directly,
>         either from an existing Puppet master or using `puppet apply`.
>         Or create
>         a Puppet environment after installation.
> 
> 
>     Can we add instructions for such a scenario to the installation docs?
> 
>     Installing puppet, installing the modules, and running `puppet
>     apply` - if that's all - sounds nice to me. And not too advanced in
>     the sense of "needs expert knowledge".
> 
> 
> Probably, add r10k to the game would make the version-controlled setup
> more automatic, wouldn't it? Is there an up-to-date guide or tutorial
> around that walks you through setting up Foreman with r10k? I've only
> found a few older discussions and posts

Use r10k's existing documentation, there's really very little overlap
between Foreman and r10k. This is all just configuration of your Puppet
master, not Foreman.

The only way Foreman's involved is that you need to re-run its import
after adding/removing/changing classes using the earlier command or
Foreman's API. You can do this from any script running r10k or with its
postrun hook.

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