diff --git a/spec/classes/nfs_spec.rb b/spec/classes/nfs_spec.rb index 586963f4..5b662a28 100644 --- a/spec/classes/nfs_spec.rb +++ b/spec/classes/nfs_spec.rb @@ -152,12 +152,12 @@ 'os' => { 'family' => 'Debian', 'distro' => { - 'codename' => 'focal' + 'codename' => 'jammy' }, 'release' => { - 'major' => '20', + 'major' => '22', 'minor' => '04', - 'full' => '20.04' + 'full' => '22.04' } } ) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 43721ab5..b6e66b32 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -4,27 +4,27 @@ c.mock_with :rspec end require 'voxpupuli/acceptance/spec_helper_acceptance' -#require 'beaker-rspec/spec_helper' -#require 'beaker/puppet_install_helper' +# require 'beaker-rspec/spec_helper' +# require 'beaker/puppet_install_helper' -#run_puppet_install_helper +# run_puppet_install_helper -#RSpec.configure do |c| -# module_root = File.expand_path(File.join(File.dirname(__FILE__), '..')) +# RSpec.configure do |c| +# module_root = File.expand_path(File.join(File.dirname(__FILE__), '..')) # -# c.formatter = :documentation +# c.formatter = :documentation # -# c.before :suite do -# puppet_module_install( -# source: module_root, -# module_name: 'nfs' -# ) -# hosts.each do |host| -# on host, puppet('module', 'install', 'puppetlabs-stdlib'), acceptable_exit_codes: [0, 1] -# on host, puppet('module', 'install', 'puppetlabs-concat'), acceptable_exit_codes: [0, 1] -# end -# end -#end +# c.before :suite do +# puppet_module_install( +# source: module_root, +# module_name: 'nfs' +# ) +# hosts.each do |host| +# on host, puppet('module', 'install', 'puppetlabs-stdlib'), acceptable_exit_codes: [0, 1] +# on host, puppet('module', 'install', 'puppetlabs-concat'), acceptable_exit_codes: [0, 1] +# end +# end +# end configure_beaker do |host| on host, puppet('module', 'install', 'puppetlabs-stdlib'), acceptable_exit_codes: [0, 1]