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

Installed but doesn't seem to be enabled. No automatic assignment of hostgroup. #66

Open jstack-godaddy opened 2 months ago

jstack-godaddy commented 2 months ago

Foreman version: Version 3.11.0-rc1 Plugin: 7.0.0-1

~]# rpm -qa | grep foreman foreman-selinux-3.11.0-0.1.rc1.el8.noarch rubygem-foreman_puppet-6.3.0-2.fm3_11.el8.noarch rubygem-foreman_ansible-14.0.0-2.fm3_11.el8.noarch foreman-debug-3.11.0-0.4.rc1.el8.noarch foreman-installer-3.11.0-0.1.rc1.el8.noarch foreman-cli-3.11.0-0.4.rc1.el8.noarch ansible-collection-theforeman-foreman-4.0.0-2.el8.noarch rubygem-foreman_salt-16.0.2-1.fm3_11.el8.noarch foreman-proxy-3.11.0-0.1.rc1.el8.noarch rubygem-foreman_remote_execution-13.1.0-1.fm3_11.el8.noarch foreman-redis-3.11.0-0.4.rc1.el8.noarch rubygem-hammer_cli_foreman-3.11.0-1.el8.noarch foreman-obsolete-packages-1.9-1.el8.noarch rubygem-hammer_cli_foreman_puppet-0.1.0-1.fm3_11.el8.noarch foreman-3.11.0-0.4.rc1.el8.noarch foreman-postgresql-3.11.0-0.4.rc1.el8.noarch rubygem-foreman-tasks-9.1.1-1.fm3_11.el8.noarch rubygem-puppetdb_foreman-6.0.2-1.fm3_9.el8.noarch foreman-dynflow-sidekiq-3.11.0-0.4.rc1.el8.noarch rubygem-foreman_default_hostgroup-7.0.0-1.fm3_9.el8.noarch foreman-service-3.11.0-0.4.rc1.el8.noarch

~]# cat /etc/foreman/plugins/default_hostgroup.yaml
---
:default_hostgroup:
  :facts_map:
    'servers':
      'hostname': '.*'

I don't even see it in the foreman logs even with debug logging on.