Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions for Jenkins node on EL9 #2015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
23 changes: 5 additions & 18 deletions docs/jenkins.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ https://github.com/theforeman/foreman-infra/tree/master/puppet/modules contains

### Node requirements

* CentOS 7
* CentOS Stream
* Clean, minimal base installation or the option to reinstall it
* 2GB of RAM per vCPU (4 vCPU + 8GB RAM is typical)
* 60GB disk (minimum), SSD preferred
Expand All @@ -54,25 +54,13 @@ https://github.com/theforeman/foreman-infra/tree/master/puppet/modules contains

### Configuring a new node

For Enterprise Linux 8:
For Enterprise Linux 9, ensure the correct Puppet repository is configured:
ehelms marked this conversation as resolved.
Show resolved Hide resolved

* 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.<provider\>.theforeman.org where <provider\> 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)
* `dnf -y install https://yum.puppet.com/puppet7-release-el-9.noarch.rpm`

For all Enterprise Linux versions:

For Enterprise Linux 7:

* Ensure EPEL is configured: [epel-release](https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm)
ehelms marked this conversation as resolved.
Show resolved Hide resolved
* Ensure yum.puppet.com is configured: [puppet7-release](https://yum.puppet.com/puppet7-release-el-7.noarch.rpm)
* `yum -y install puppet-agent`
* `dnf -y install puppet-agent`
* `echo "server = puppet.theforeman.org" >> /etc/puppetlabs/puppet/puppet.conf`
* ensure hostname is set node0X.jenkins.<provider\>.theforeman.org where <provider\> 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`
Expand All @@ -82,7 +70,6 @@ For Enterprise Linux 7:
* Set the host group to "Builders" in Foreman
* Run `puppet agent --test` twice (second run is important, due to the rvm module behaviour)


For Debian:

* Ensure apt.puppet.com is configured: [puppet7-release](https://apt.puppetlabs.com/puppet7-release-bullseye.deb)
Expand Down