From 2bbe3e93df02b9fc1c3a929dc57bffd4d0a9b284 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Tue, 6 Aug 2024 11:58:47 +0200 Subject: [PATCH] spec files: remove unused data This refrences EoL operating systems that we don't use anymore. The varaibles are all unused and can be dropped. --- spec/classes/nfs_spec.rb | 122 --------------------------------------- 1 file changed, 122 deletions(-) diff --git a/spec/classes/nfs_spec.rb b/spec/classes/nfs_spec.rb index e8319a3..4283b6d 100644 --- a/spec/classes/nfs_spec.rb +++ b/spec/classes/nfs_spec.rb @@ -51,68 +51,6 @@ client_rpcbind_config = '/etc/default/rpcbind' client_rpcbind_optname = 'OPTIONS' - when 'Ubuntu_16.04' - - let(:facts) do - default_facts.merge( - 'operatingsystem' => 'Ubuntu', - 'os' => { - 'family' => 'Debian', - 'distro' => { - 'codename' => 'xenial' - }, - 'release' => { - 'major' => '16', - 'minor' => '04', - 'full' => '16.04' - } - } - ) - 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 'Ubuntu_18.04' - - let(:facts) do - default_facts.merge( - 'operatingsystem' => 'Ubuntu', - 'os' => { - 'family' => 'Debian', - 'distro' => { - 'codename' => 'bionic' - }, - 'release' => { - 'major' => '18', - 'minor' => '04', - 'full' => '18.04' - } - } - ) - end - - server_service = 'nfs-kernel-server' - server_servicehelpers = '' - 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 'Ubuntu_20.04' let(:facts) do @@ -205,66 +143,6 @@ client_rpcbind_config = '/etc/default/rpcbind' client_rpcbind_optname = 'OPTIONS' - when 'Debian_8' - - let(:facts) do - default_facts.merge( - 'operatingsystem' => 'Debian', - 'os' => { - 'family' => 'Debian', - 'distro' => { - 'codename' => 'jessie' - }, - 'release' => { - 'major' => '8', - 'full' => '8' - } - } - ) - end - - server_service = 'nfs-kernel-server' - server_servicehelpers = %w[nfs-common] - server_packages = %w[nfs-common nfs-kernel-server nfs4-acl-tools rpcbind] - client_services = %w[rpcbind] - client_nfs_vfour_services = %w[rpcbind nfs-common] - client_packages = %w[nfs-common nfs4-acl-tools] - client_gssdopt_name = 'RPCGSSDOPTS' - defaults_file = '/etc/default/nfs-common' - idmapd_file = '/etc/idmapd.conf' - client_rpcbind_config = '/etc/default/rpcbind' - client_rpcbind_optname = 'OPTIONS' - - when 'Debian_9' - - let(:facts) do - default_facts.merge( - 'operatingsystem' => 'Debian', - 'os' => { - 'family' => 'Debian', - 'distro' => { - 'codename' => 'stretch' - }, - 'release' => { - 'major' => '9', - 'full' => '9' - } - } - ) - 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