Unmanaged hosts with a fixed hostname

Hi,

I'm experimenting to see if Foreman is the tool for what I want to achieve
here in my home network.
I currently have cobbler+dnsmasq for network management and no puppet at
all yet.

Essentially I want a single interface that allows me to easily manage the
VMs I have with things like webserver (for my homepage), gitlab, etc.
For these VMs I want to have a fixed IP address and manageability using
puppet/Foreman.
On the other hand I want several devices (like the phones and tables of my
friends) to be recognized (i.e. the MAC is fixed to a certain hostname) yet
their IP is dynamic.
I think this would also make sense in situations where in a larger building
employees have a laptop with wifi and depending on the floor they are on
they would retain the same hostname yet get a different IP every time.

Now dnsmasq (yes not yet supported by foreman) supports this model fine in
their settings.

In foreman I found that I can have either

  • "Managed" hosts for which I must define a unique and fixed IP address
    and as a consequence I can use provision and manage these hosts with
    PXE/puppet.
  • "Unmanaged" hosts for which I cannot define any network related settings.

Can I achieve what I want using the current implementation of the Foreman?
(If so, how?)
Would this make sense for other people to be able to do the same?
How should this be integrated into foreman? ( Perhaps by adding the MAC
address as an optional field to unmanaged hosts )

What do you guys think?

to create/update/delete dhcp records directly, maybe that could help your
needs .

cheers,
Ohad

[1] - https://github.com/theforeman/foreman_dhcp_browser

··· On Sun, Aug 25, 2013 at 3:46 PM, Niels Basjes wrote:

Hi,

I’m experimenting to see if Foreman is the tool for what I want to achieve
here in my home network.
I currently have cobbler+dnsmasq for network management and no puppet at
all yet.

Essentially I want a single interface that allows me to easily manage the
VMs I have with things like webserver (for my homepage), gitlab, etc.
For these VMs I want to have a fixed IP address and manageability using
puppet/Foreman.
On the other hand I want several devices (like the phones and tables of my
friends) to be recognized (i.e. the MAC is fixed to a certain hostname) yet
their IP is dynamic.
I think this would also make sense in situations where in a larger
building employees have a laptop with wifi and depending on the floor they
are on they would retain the same hostname yet get a different IP every
time.

Now dnsmasq (yes not yet supported by foreman) supports this model fine in
their settings.

In foreman I found that I can have either

  • “Managed” hosts for which I must define a unique and fixed IP address
    and as a consequence I can use provision and manage these hosts with
    PXE/puppet.
  • “Unmanaged” hosts for which I cannot define any network related settings.

Can I achieve what I want using the current implementation of the Foreman?
(If so, how?)
Would this make sense for other people to be able to do the same?
How should this be integrated into foreman? ( Perhaps by adding the MAC
address as an optional field to unmanaged hosts )

What do you guys think?

sorry about the long reply, I’ve written a foreman plugin [1] that allows

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