Problem:
I perform the installation using the foreman-installer --scenario katello --enable-foreman-plugin-default-hostgroup ... and want to stage the config file /etc/foreman/plugins/default_hostgroup.yaml through the installer. If I perform the same step after the install it requires systemctl restart httpd that is not ideal.
Is that possible through custom-hiera.yaml or other means prior to executing the installer? Basically, I don’t want to do any follow on steps but the pre-steps are ok.
As stated in my reply on the PR, the initial hints I gave were incorrect. The plugin is part of the scenario but there’s no way to configure the plugin through the installer.
This file needs to gain parameters to manage the config file:
I’d recommend looking at the memcache plugin since that already manages a config file:
After that you’ll have --foreman-plugin-default-hostgroup-* parameters on the CLI.