Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec files: remove unused data #205

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading