From 67ac92515dc2704d0940d619f3bd0c5dffecb757 Mon Sep 17 00:00:00 2001 From: "Eric D. Helms" Date: Mon, 11 Sep 2023 15:34:13 -0400 Subject: [PATCH] Update Jenkins node setup for EL8 --- docs/jenkins.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/jenkins.md b/docs/jenkins.md index 78c6668ae..fa1d5c3dc 100644 --- a/docs/jenkins.md +++ b/docs/jenkins.md @@ -54,7 +54,21 @@ https://github.com/theforeman/foreman-infra/tree/master/puppet/modules contains ### Configuring a new node -For Enterprise Linux: +For Enterprise Linux 8: + +* Ensure yum.puppet.com is configured: [puppet7-release](https://yum.puppet.com/puppet7-release-el-8.noarch.rpm) +* `yum -y install puppet-agent` +* `echo "server = puppet.theforeman.org" >> /etc/puppetlabs/puppet/puppet.conf` +* ensure hostname is set node0X.jenkins..theforeman.org where is osuosl or aws for example and that the record is in DNS +* Make the `puppet` command available: `source /etc/profile.d/puppet-agent.sh` +* `puppet ssl bootstrap` +* Sign the certificate on the puppetmaster or via Foreman +* `puppet agent --test` +* Set the host group to "Builders" in Foreman +* Run `puppet agent --test` twice (second run is important, due to the rvm module behaviour) + + +For Enterprise Linux 7: * Ensure EPEL is configured: [epel-release](https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm) * Ensure yum.puppet.com is configured: [puppet7-release](https://yum.puppet.com/puppet7-release-el-7.noarch.rpm)