Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vagrant/foreman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ sudo dnf clean all

echo "Installing Repo Packages"
echo "foreman"
sudo dnf -y localinstall https://yum.theforeman.org/releases/3.15/el9/x86_64/foreman-release.rpm
sudo dnf -y localinstall https://yum.theforeman.org/releases/3.18/el9/x86_64/foreman-release.rpm
echo "OpenVox 8"
sudo dnf -y localinstall https://yum.voxpupuli.org/openvox8-release-el-9.noarch.rpm

echo "DNF update"
sudo dnf -y update

echo "installing some tools: tree vim net-tools"
sudo dnf -y install tree vim net-tools git
sudo dnf -y install tree vim net-tools git bash-completion openbolt

echo "Katello installation part"
sudo dnf -y install foreman-installer
Expand Down Expand Up @@ -88,7 +88,7 @@ sudo systemctl restart puppetserver
echo "Uploading facts to PuppetDB"
sudo /opt/puppetlabs/bin/puppet agent -t

if [[ -e /vagrant/puppet-bolt-4.0.0-1.el9.x86_64.rpm && -e /vagrant/rubygem-smart_proxy_openbolt-0.0.1-1.el9.noarch.rpm && -e /vagrant/rubygem-foreman_openbolt-0.0.1-1.el9.noarch.rpm ]]; then
if [[ -e /vagrant/rubygem-smart_proxy_openbolt-0.0.1-1.el9.noarch.rpm && -e /vagrant/rubygem-foreman_openbolt-0.0.1-1.el9.noarch.rpm ]]; then
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need a bit more time, but we don't need those hacks anymore. modern foreman supports the openbolt + hdm plugin. Both can be installed via the foreman-installer and all packages are in the foreman repos.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the prerelease test scenario.
Can be dropped.

echo "Installing OpenVox Orchestrator"
sudo rpm -ihv /vagrant/puppet-bolt-4.0.0-1.el9.x86_64.rpm /vagrant/rubygem-smart_proxy_openbolt-0.0.1-1.el9.noarch.rpm /vagrant/rubygem-foreman_openbolt-0.0.1-1.el9.noarch.rpm
if [[ $(grep foreman-tasks /usr/share/gems/gems/foreman_openbolt-0.0.1/lib/foreman_openbolt.rb) ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ classes:

hdm::version: 'main'
hdm::method: 'rvm'
hdm::ruby_version: '3.4.8'
hdm::ruby_version: '3.4.9'
hdm::disable_authentication: true
hdm::allow_encryption: true
hdm::puppetdb_settings:
Expand Down
Loading