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
root@foreman:~#
I realize that this plugin is also available at https://github.com/theforeman/foreman_userdata . Are there instructions to install a plugin from Github?
ekohl
April 1, 2019, 3:10pm
4
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:
https://github.com/theforeman/puppet-foreman/commit/7cb0bba656a8c55839c56c22c29d445ddb7f303d#diff-d063b828cd9bf333ecb8c795589b1d08
To complete this, the installer’s answer files need to be aware of it. This isn’t very complicated.
https://github.com/theforeman/foreman-installer/commit/e0cde995c6da9b34118c6e5d488493d5848dce7e#diff-4c85d0b2ee9553118b215f5fff621dc9
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.
1 Like