Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
canihavethisone committed Jul 27, 2024
1 parent a7ec039 commit caee2b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
{
"name": "webalex-windows_firewall",
"version_requirement": ">= 1.4.2 < 2.0.0"
"version_requirement": ">= 1.5.0 < 2.0.0"
}
],
"operatingsystem_support": [
Expand Down
3 changes: 2 additions & 1 deletion spec/acceptance/cis_security_hardening_windows_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
## https://relishapp.com/rspec/rspec-core/v/2-14/docs/example-groups/basic-structure-describe-it

require 'spec_helper_acceptance'
require 'parallel'

env_path = "/etc/puppetlabs/code/environments/#{ENVIRONMENT}"
# agent = only_host_with_role(hosts, 'agent')
Expand Down Expand Up @@ -48,7 +49,7 @@
agents.each do |agent|
# The first test after in_parallel fails, so this overcomes that
next unless agents.count > 1
on(agent, 'This is an expected warning as connection is re-established after reboot', expect_connection_failure: true) # similar alternative is 'reset_connection: true'
on(agent, 'This is an expected warning as connection is re-established after reboot', reset_connection: true) # similar alternative is 'expect_connection_failure: true'
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/shared_examples/windows_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@
describe windows_registry_key('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System') do
it { is_expected.not_to have_property_value('NoConnectedUser', :type_dword, '3') }
end
end
end

0 comments on commit caee2b1

Please sign in to comment.