Skip to content

Commit

Permalink
Cleanup acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Riehecky committed Aug 28, 2023
1 parent 74bfe83 commit 27a89fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 2 additions & 3 deletions spec/acceptance/suites/default/00_default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ class { 'firewalld':
class ssh_test {
firewalld_service{ 'test_sshd': zone => 'test' }
# TODO: Switch this when the defined type gets deprecated
firewalld::custom_service{ 'test_sshd':
firewalld_custom_service{ 'test_sshd':
description => 'Test SSH Access',
port => [{ 'port' => '22', 'protocol' => 'tcp' }]
ports => [{ 'port' => '22', 'protocol' => 'tcp' }]
}
}
Expand Down
8 changes: 2 additions & 6 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@
UNSUPPORTED_PLATFORMS = %w[windows Darwin].freeze

unless ENV['BEAKER_provision'] == 'no'
hosts.each do |host|
hosts.each do
# Install Puppet
if host.is_pe?
install_pe
else
install_puppet
end
install_puppet
end
end

Expand Down

0 comments on commit 27a89fb

Please sign in to comment.