diff --git a/lib/puppet_metadata/beaker.rb b/lib/puppet_metadata/beaker.rb index ebe40f2..3652e5f 100644 --- a/lib/puppet_metadata/beaker.rb +++ b/lib/puppet_metadata/beaker.rb @@ -71,7 +71,7 @@ def os_release_to_setfile(os, release, use_fqdn: false, pidfile_workaround: fals # Return whether a Beaker setfile can be generated for the given OS # @param [String] os The operating system def os_supported?(os) - %w[Archlinux CentOS Fedora Debian Ubuntu Rocky AlmaLinux].include?(os) + %w[Archlinux CentOS Fedora Debian Ubuntu Rocky AlmaLinux OracleLinux].include?(os) end private diff --git a/lib/puppet_metadata/operatingsystem.rb b/lib/puppet_metadata/operatingsystem.rb index 1a5d165..829dd61 100644 --- a/lib/puppet_metadata/operatingsystem.rb +++ b/lib/puppet_metadata/operatingsystem.rb @@ -45,6 +45,12 @@ class OperatingSystem '2.2' => '2003-06-30', '2.1' => '2000-09-30', }, + # https://endoflife.date/oraclelinux + 'OracleLinux' => { + '9' => '2032-06-30', + '8' => '2029-07-01', + '7' => '2024-07-01', + } # https://endoflife.software/operating-systems/linux/fedora 'Fedora' => { '32' => nil,