theforeman / foreman_default_hostgroup

A plugin to set the default hostgroup when hosts are created.
GNU General Public License v3.0
11 stars 29 forks source link

Support of sub facts #45

Closed evgenkisel closed 2 years ago

evgenkisel commented 4 years ago

Hi!

Does the plugin support to use facts like os.name or os.family ? The Facter allows a structure like: # facter os { architecture => "x86_64", family => "RedHat", hardware => "x86_64", name => "RedHat", release => { full => "7.7", major => "7", minor => "7" }, selinux => { enabled => false } }

Can I use facts with subfucts in the plugin?

ekohl commented 2 years ago

While I don't know the answer, I think this is a duplicate of https://github.com/theforeman/foreman_default_hostgroup/issues/45.