Skip to content

Commit

Permalink
spec files: remove unused data
Browse files Browse the repository at this point in the history
This refrences EoL operating systems that we don't use anymore. The
varaibles are all unused and can be dropped.
  • Loading branch information
bastelfreak committed Aug 6, 2024
1 parent d0ad63e commit 2bbe3e9
Showing 1 changed file with 0 additions and 122 deletions.
122 changes: 0 additions & 122 deletions spec/classes/nfs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2bbe3e9

Please sign in to comment.