Skip to content

Commit

Permalink
rubocop cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxmea committed Jun 7, 2024
1 parent e1fd394 commit c821684
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions spec/classes/nfs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
)
Expand Down
34 changes: 17 additions & 17 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c821684

Please sign in to comment.