Howdy everyone.

Using the foreman_default_hostgroup with some success, but wondering what 
the rules are that govern which host is added to what group?

Referring to this example:


*:default_hostgroup:*
*  :facts_map:*
*    "Primary Site - Development":*
*      "domain": ".*development.internal"*
*    "Primary Site - Development/Foreman":*
*      "fdqn": "host((0[1-9])|(10)).development.internal"*



Any host with a DNS suffix of *.development.internal* will be added to the 
*Development 
*host group.

The second directive is intended to add any fqdn of 
*host01.development.internal*-*host10.development.internal* to the nested 
*Development/Foreman* host group.


However, all hosts (with the correct domain) are *only *being applied to 
*Development*.


If I comment out *Development *host group and the accompanying *domain *fact, 
the hosts are correctly assigning to *Development/Foreman* so i know the 
regex is correct.

Any suggestions as to what I may be doing wrong?

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