Managing a Puppet class for a specific node outside of the Foreman web UI

I'm not sure if this is possible or even the intended operation of Foreman,
but I'd like to be able to perform more complicated Puppet configurations
outside of the web interface. While I find that it is excellent for making
property specific class settings, I don't quite understand how to do
anything more complicated. For example, this –
https://forge.puppetlabs.com/theforeman/dhcp – module for managing a DHCP
server suggests that you could write an entire class { … } block for a
node, but if this is loaded into Foreman I don't see how that's possible.
That leads me to believe that you must be able to write this into a file
that is on the Puppet master, but if I do that will Foreman recognize those
configurations and allow me to assign them to a node?

Thanks

I'm actually thinking through some of this now, and I think this is where
the roles and profiles pattern[1] comes into play. The more complex
configurations become profiles that you can assign to a role class, or
possibly directly to the node in the web interface.

Matt

[1]http://www.craigdunn.org/2012/05/239/

··· On Fri, Aug 22, 2014 at 2:10 PM, Geoff Johnson wrote:

I’m not sure if this is possible or even the intended operation of
Foreman, but I’d like to be able to perform more complicated Puppet
configurations outside of the web interface. While I find that it is
excellent for making property specific class settings, I don’t quite
understand how to do anything more complicated. For example, this –
https://forge.puppetlabs.com/theforeman/dhcp – module for managing a
DHCP server suggests that you could write an entire class { … } block for
a node, but if this is loaded into Foreman I don’t see how that’s possible.
That leads me to believe that you must be able to write this into a file
that is on the Puppet master, but if I do that will Foreman recognize those
configurations and allow me to assign them to a node?

Thanks


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/d/optout.