Exclude puppet classes automaticaly with foreman import

When I start a Foreman import of puppetclasses all existing classes are
imported by default. Most of them aren't needed in configuring a hostgroup.
I'd like those (sub)classes to be automatically skipped. Can I place a tag
or something like that as comment in those (sub)classes or is there
something else I can configure to realize that?

Check the ignored_environments.yml feature described here:

http://theforeman.org/manuals/1.2/index.html#4.2.2Classes

··· On 03/10/13 10:02, luitzen.van.gorkum@gmail.com wrote: > When I start a Foreman import of puppetclasses all existing classes are > imported by default. Most of them aren't needed in configuring a > hostgroup. I'd like those (sub)classes to be automatically skipped. Can > I place a tag or something like that as comment in those (sub)classes or > is there something else I can configure to realize that?


Dominic Cleal
Red Hat Engineering

Great!
We're still on 1.0 but planning to start with 1.2 so I'll take this in mind.
Thank you very much!

If you can wait, 1.3 will be released soon !

··· 2013/10/3

Great!
We’re still on 1.0 but planning to start with 1.2 so I’ll take this in
mind.
Thank you very much!


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.