@@ -60,23 +60,21 @@ runcmd:
60
60
dnf - y install git pciutils unzip
61
61
dnf - y remove cockpit\* firewalld -- exclude= iptables
62
62
% { 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 *
65
65
% { endif ~}
66
66
# 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
69
69
install - m 700 / dev/ null / opt/ puppetlabs/ bin/ postrun
70
70
# kernel configuration
71
71
systemctl disable kdump
72
72
grubby -- update-kernel= ALL -- args= " rd.driver.blacklist=nouveau nouveau.modeset=0"
73
73
grub2- mkconfig - o / boot/ grub2/ grub.cfg
74
74
fi
75
75
% { 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
80
78
# Configure puppet-agent to start after puppetserver when on puppetserver
81
79
- sed - i 's/ ^\(After= .* \)$/ \1 puppetserver.service/ ' / usr/ lib/ systemd/ system/ puppet.service
82
80
- systemctl daemon- reload
0 commit comments