Hi,

I am trying to create a hostgroup to map all the nodes having a custom 
facter. I have installed the foreman_default_hostname 4.x plugin and I am 
using foreman 1.12.3 version.

I have followed the below steps:

1. Installed the foreman_default_hostname plugin
2. Created the file /etc/foreman/plugins/default_hostname.yaml having below 
syntax:
    ---

:default_hostgroup:
  :facts_map:
    "MY_FACT":
      "my_custom_fact": "my_custom_fact_value"

3. Restarted foreman and foreman-proxy service.

I am not able to see the hostgroup in foreman console. Please let me know 
if I am missing anything here.

Thanks,
Sanjiv

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