On 20 August 2016 at 03:34, Mike Wilson <[email protected]> wrote:

> I am hoping to find some tutorials for two features I'd like to experiment
> with. I've just recently been exposed to Foreman and found it's existence a
> gawd send.
>

Welcome, glad you like it :)


> What I'd like to find is a tutorial on a basic puppet configuration down
> to a host. Using something like network that will configure the hosts
> interface/aliases/etc. I've experience doing this the old fashion way (a
> node file for the host with the parameters filled in there like this. <snip>
>
> Where does this part of a puppet module get configured into foreman puppet
> controls? I'd be happy to run through a video and/or webpage walkthru if
> someone can point me to it.
>

It strongly depends on your puppet modules. It looks like your puppet
module has uses a "define" for "netif::interface", and due to how Puppet
works, ENCs (which Foreman is) cannot directly declare defines, only
classes. You'll want to look at
http://projects.theforeman.org/projects/foreman/wiki/Instantiate_Puppet_resources
for the common patterns used to work around this. In short, the usual way
is to use a wrapper class and a hash of data declared in Foreman.

The other question relates to vmware and Foreman. I've seen some videos
> where folks were able to configure the parts of a VM directly and Foreman
> seemed to be able to generate the VM side and also manage the kickstart
> parts as well. So far I've just been manually creating the empty VM in
> vSphere and configuring Foreman to kickit as a bare metal host. I'd love to
> find a tutorial/walk thru for this as well.
>

These are Compute Resources - see
https://theforeman.org/manuals/1.12/index.html#5.2ComputeResources. In your
case, you'll want to install foreman-vmware and then head over to the
Compute Resources section of the UI to add a new resource. Once configured,
you'll be able to select that resource when creating new hosts.

Hope that helps! Ask away if you're still unclear :)
Greg

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