Skip to content

Commit daac37e

Browse files
authored
Merge pull request #374 from ComputeCanada/openvox
Replace puppetlabs-puppet by OpenVox
2 parents 8f58869 + 5a99195 commit daac37e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

common/configuration/puppet.yaml.tftpl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,21 @@ runcmd:
6060
dnf -y install git pciutils unzip
6161
dnf -y remove cockpit\* firewalld --exclude=iptables
6262
%{ if ! skip_upgrade ~}
63-
# Upgrade all packages except Puppet if already installed
64-
dnf -y upgrade -x puppet*
63+
# Upgrade all packages except openvox if already installed
64+
dnf -y upgrade -x openvox*
6565
%{ endif ~}
6666
# Puppet agent configuration and install
67-
dnf -y install https://yum.puppet.com/puppet7-release-el-$(grep -oP 'VERSION_ID="\K[^"]' /etc/os-release).noarch.rpm
68-
dnf -y install puppet-agent-7.32.1
67+
dnf -y install https://yum.voxpupuli.org/openvox7-release-el-$(grep -oP 'VERSION_ID="\K[^"]' /etc/os-release).noarch.rpm
68+
dnf -y install openvox-agent-7.37.2
6969
install -m 700 /dev/null /opt/puppetlabs/bin/postrun
7070
# kernel configuration
7171
systemctl disable kdump
7272
grubby --update-kernel=ALL --args="rd.driver.blacklist=nouveau nouveau.modeset=0"
7373
grub2-mkconfig -o /boot/grub2/grub.cfg
7474
fi
7575
%{ if contains(tags, "puppet") }
76-
# Install Java 11 and puppetserver
77-
- dnf -y install java-11-openjdk-headless puppetserver-7.17.2
78-
# Configure puppetserver to use Java 11
79-
- sudo sed -i 's;\(JAVA_BIN=\).*;\1"/usr/lib/jvm/jre-11/bin/java";g' /etc/sysconfig/puppetserver
76+
# Install puppetserver
77+
- dnf -y install openvox-server-7.18.2
8078
# Configure puppet-agent to start after puppetserver when on puppetserver
8179
- sed -i 's/^\(After=.*\)$/\1 puppetserver.service/' /usr/lib/systemd/system/puppet.service
8280
- systemctl daemon-reload

0 commit comments

Comments
 (0)