Skip to content

Commit

Permalink
Drop support for running on Debian 11
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jan 9, 2025
1 parent e214d58 commit 8b5b298
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 34 deletions.
11 changes: 11 additions & 0 deletions _includes/manuals/nightly/1.2_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ This section will be updated prior to the next release.

### Upgrade warnings

#### Running Foreman on Debian 11 (Bullseye) is not supported anymore

Foreman supports running on Debian 12 (Bullseye) since 3.11.4.
Running Foreman on Debian 11 has been deprecated since 3.13.
Support for running Foreman on Debian 11 has been removed.

Note this is for running Foreman itself.
Clients will remain supported.

For more details, see the [removal RFC](https://community.theforeman.org/t/drop-debian-11-ruby-2-7-and-nodejs-14-support-in-foreman-3-14/40503).

### Deprecations

### Release Notes
Expand Down
21 changes: 0 additions & 21 deletions _includes/manuals/nightly/2.1_quickstart_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ To provide specific installation instructions, please select your operating syst
<select onChange="update_quickstart_os(this);">
<option value="none">-- select operating system --</option>
<option value="el9">Enterprise Linux 9</option>
<option value="debian11">Debian 11 (Bullseye)</option>
<option value="debian12">Debian 12 (Bookworm)</option>
<option value="ubuntu2204">Ubuntu 22.04 (Jammy)</option>
</select>
Expand Down Expand Up @@ -54,26 +53,6 @@ sudo dnf -y install https://yum.theforeman.org/releases/{{page.version}}/el9/x86
{% endhighlight %}
</div>

<div class="quickstart_os quickstart_os_debian11">
<p>
Enable Puppet's 8.x repository:
</p>

{% highlight bash %}
sudo apt-get -y install ca-certificates
cd /tmp && wget https://apt.puppet.com/puppet8-release-bullseye.deb
sudo apt-get install /tmp/puppet8-release-bullseye.deb
{% endhighlight %}

<p>Enable the Foreman repositories:</p>

{% highlight bash %}
sudo wget https://deb.theforeman.org/foreman.asc -O /etc/apt/trusted.gpg.d/foreman.asc
echo "deb http://deb.theforeman.org/ bullseye {{page.version}}" | sudo tee /etc/apt/sources.list.d/foreman.list
echo "deb http://deb.theforeman.org/ plugins {{page.version}}" | sudo tee -a /etc/apt/sources.list.d/foreman.list
{% endhighlight %}
</div>

<div class="quickstart_os quickstart_os_debian12">
<p>
Enable Puppet's 8.x repository:
Expand Down
3 changes: 0 additions & 3 deletions _includes/manuals/nightly/3.3.2_debian_packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ The Foreman packages should work on the following Debian-based Linux distributio

#### Distributions

* Debian Linux 11 (Bullseye), amd64
* Debian Linux 12 (Bookworm), amd64
* Ubuntu Linux 22.04 LTS (Jammy Jellyfish), amd64

Expand All @@ -14,8 +13,6 @@ If you encounter any errors during the installation, [please file a bug report!]
Add one of the following lines to your */etc/apt/sources.list* (alternatively in a separate file in */etc/apt/sources.list.d/foreman.list*):

```
# Debian Bullseye
deb http://deb.theforeman.org/ bullseye {{page.version}}
# Debian Bookworm
deb http://deb.theforeman.org/ bookworm {{page.version}}
# Ubuntu 22.04 Jammy
Expand Down
13 changes: 3 additions & 10 deletions _includes/manuals/nightly/3.6_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ To provide specific installation instructions, please select your operating syst
<select id="upgrade_os" onChange="update_upgrade_os(this);">
<option value="none">-- select operating system --</option>
<option value="el9">CentOS Stream 9 / Red Hat Enterprise Linux 9</option>
<option value="debian11">Debian 11 (Bullseye)</option>
<option value="debian12">Debian 12 (Bookworm)</option>
<option value="ubuntu2204">Ubuntu 22.04 (Jammy)</option>
</select>
Expand All @@ -62,7 +61,7 @@ Before proceeding, it is necessary to shutdown the Foreman instance.
systemctl stop httpd foreman.service foreman.socket dynflow\*
{% endhighlight %}
</div>
<div class="upgrade_os upgrade_os_debian11 upgrade_os_debian12 upgrade_os_ubuntu2204">
<div class="upgrade_os upgrade_os_debian12 upgrade_os_ubuntu2204">
{% highlight bash %}
systemctl stop apache2 foreman.service foreman.socket dynflow\*
{% endhighlight %}
Expand Down Expand Up @@ -95,20 +94,14 @@ dnf upgrade ruby\* foreman\*
{% endhighlight %}
</div>

<div class="upgrade_os upgrade_os_debian11 upgrade_os_debian12 upgrade_os_ubuntu2204">
<div class="upgrade_os upgrade_os_debian12 upgrade_os_ubuntu2204">
Upgrading from the last release to {{page.version}} has been tested. Updating
the packages will upgrade the application and automatically migrate the
database.

First edit `/etc/apt/sources.list.d/foreman.list` and change the release
number from the previous release to `{{ page.version }}`:

<div class="upgrade_os upgrade_os_debian11">
{% highlight bash %}
deb http://deb.theforeman.org/ bullseye {{ page.version }}
deb http://deb.theforeman.org/ plugins {{ page.version }}
{% endhighlight %}
</div>
<div class="upgrade_os upgrade_os_debian12">
{% highlight bash %}
deb http://deb.theforeman.org/ bookworm {{ page.version }}
Expand Down Expand Up @@ -180,7 +173,7 @@ Start the application server. This is redundant if you previously ran `foreman-i
systemctl start httpd foreman.service foreman.socket
{% endhighlight %}
</div>
<div class="upgrade_os upgrade_os_debian11 upgrade_os_debian12 upgrade_os_ubuntu2204">
<div class="upgrade_os upgrade_os_debian12 upgrade_os_ubuntu2204">
{% highlight bash %}
systemctl start apache2 foreman.service foreman.socket
{% endhighlight %}
Expand Down

0 comments on commit 8b5b298

Please sign in to comment.