diff options
| author | Dominic Maraglia <dominic@puppetlabs.com> | 2011-06-27 13:58:44 -0700 |
|---|---|---|
| committer | Dominic Maraglia <dominic@puppetlabs.com> | 2011-06-27 13:58:44 -0700 |
| commit | 3e3fc693c2a96f6cf56e670f6d5ae5cd70f6a523 (patch) | |
| tree | 86b44b9cee04b3bd16d482fe8f897f9f5870665c /acceptance/tests/resource/service | |
| parent | c9746538f486233f854382c4a0f6e46126ae339a (diff) | |
| download | puppet-3e3fc693c2a96f6cf56e670f6d5ae5cd70f6a523.tar.gz puppet-3e3fc693c2a96f6cf56e670f6d5ae5cd70f6a523.tar.xz puppet-3e3fc693c2a96f6cf56e670f6d5ae5cd70f6a523.zip | |
(#7956) Port resource acceptance tests
Many of the Puppet resource acceptance tests were RHEL/Centos
specifc. These tests were ported under the enterptise-dist
repo; move the tests into 2.6.x for merging.
Diffstat (limited to 'acceptance/tests/resource/service')
| -rwxr-xr-x | acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb b/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb index 9bedd6e04..127e943a9 100755 --- a/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb +++ b/acceptance/tests/resource/service/ticket_4123_should_list_all_running_redhat.rb @@ -4,9 +4,10 @@ step "Validate services running agreement ralsh vs. OS service count" # ticket_4123_should_list_all_running_redhat.sh hosts.each do |host| - unless host['platform'].include? 'centos' or host['platform'].include? 'redhat' - skip_test "Test not supported on this plaform" - else + if host['platform'].include?('centos') or host['platform'].include?('redhat') + puts "XXX #{host['platform']}" run_script_on(host,'acceptance-tests/tests/resource/service/ticket_4123_should_list_all_running_redhat.sh') + else + skip_test "Test not supported on this plaform" end end |
