- Foreman version: 1.21.0
- VMware vSphere verison: 6.7
- Ubuntu version: 18.04 LTS
After struggling with trying to get Foreman to deploy systems based on VMware Templates (e.g. Foreman Images), I believe I need to install
tfm-rubygem-foreman_userdata. What’s the right way to do this?
I’m familiar with https://theforeman.org/plugins/#2.Installation, but neither the Apt repo nor the
foreman-installer seem to know about this package:
root@foreman:~# grep plugins /etc/apt/sources.list.d/foreman.list
root@foreman:~# apt-cache search foreman |grep -i userdata
root@foreman:~# foreman-installer --help |grep plugin | grep userdata
I realize that this plugin is also available at https://github.com/theforeman/foreman_userdata. Are there instructions to install a plugin from Github?
A patch to our packaging repository would be highly appreciated. Plugins are async from the main releases so we can also introduce plugins to 1.21.0.
A patch to the puppet-foreman module’s plugins is needed for installer support. If there’s no config, the patch is rather trivial:
To complete this, the installer’s answer files need to be aware of it. This isn’t very complicated.
There’s a helper to generate the migration. Note that for Foreman plugins it’s usually applicable to both the foreman and katello scenarios so there’s some duplication.