Skip to content

Commit

Permalink
Merge pull request #203 from bastelfreak/debian10
Browse files Browse the repository at this point in the history
Drop Debian 10 support
  • Loading branch information
bastelfreak authored Aug 6, 2024
2 parents 03acd3a + 245e4ea commit 3606874
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 33 deletions.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
$server_service_name = 'nfs-kernel-server'
$client_gssdopt_name = 'RPCGSSDOPTS'
}
'bullseye', 'buster', 'stretch', 'xenial', 'yakkety', 'zesty': {
'bullseye', 'stretch', 'xenial', 'yakkety', 'zesty': {
$client_services = { 'rpcbind' => {
ensure => 'running',
enable => false,
Expand Down
1 change: 0 additions & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
"10",
"11"
]
},
Expand Down
32 changes: 1 addition & 31 deletions spec/classes/nfs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

describe 'nfs' do
# supported_os = %w[Ubuntu_default Ubuntu_16.04 Debian_default Debian_8 RedHat_default RedHat_7 RedHat_75 RedHat_8 Gentoo SLES Archlinux]
supported_os = %w[Ubuntu_20.04 Ubuntu_22.04 Debian_10 Debian_11 RedHat_default RedHat_7 RedHat_75 RedHat_8 Gentoo SLES]
supported_os = %w[Ubuntu_20.04 Ubuntu_22.04 Debian_11 RedHat_default RedHat_7 RedHat_75 RedHat_8 Gentoo SLES]
supported_os.each do |os|
context os do
let(:default_facts) do
Expand Down Expand Up @@ -265,36 +265,6 @@
client_rpcbind_config = '/etc/default/rpcbind'
client_rpcbind_optname = 'OPTIONS'

when 'Debian_10'

let(:facts) do
default_facts.merge(
'operatingsystem' => 'Debian',
'os' => {
'family' => 'Debian',
'distro' => {
'codename' => 'buster'
},
'release' => {
'major' => '10',
'full' => '10'
}
}
)
end

server_service = 'nfs-kernel-server'
server_servicehelpers = %w[nfs-idmapd]
server_packages = %w[nfs-common nfs-kernel-server nfs4-acl-tools rpcbind]
client_services = %w[rpcbind]
client_nfs_vfour_services = %w[rpcbind]
client_packages = %w[nfs-common nfs4-acl-tools]
client_gssdopt_name = 'GSSDARGS'
defaults_file = '/etc/default/nfs-common'
idmapd_file = '/etc/idmapd.conf'
client_rpcbind_config = '/etc/default/rpcbind'
client_rpcbind_optname = 'OPTIONS'

when 'Debian_11'

let(:facts) do
Expand Down

0 comments on commit 3606874

Please sign in to comment.