Detecting supported platform used incorrect string for RHEL.
Changed string from 'redhat' to 'rhel'

Signed-off-by: Dominic Maraglia <domi...@puppetlabs.com>
---
 .../ticket_4123_should_list_all_running_redhat.rb  |    3 +--
 .../ticket_4124_should_list_all_disabled.rb        |    2 +-
 2 files changed, 2 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 127e943..9f0fdc5 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,8 +4,7 @@ step "Validate services running agreement ralsh vs. OS service 
count"
 # ticket_4123_should_list_all_running_redhat.sh
 
 hosts.each do |host|
-  if host['platform'].include?('centos') or host['platform'].include?('redhat')
-    puts "XXX #{host['platform']}"
+  if host['platform'].include?('centos') or host['platform'].include?('rhel')
     
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" 
diff --git 
a/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb 
b/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb
index db96ad9..13ad5ce 100755
--- a/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb
+++ b/acceptance/tests/resource/service/ticket_4124_should_list_all_disabled.rb
@@ -4,7 +4,7 @@ step "Validate disabled services agreement ralsh vs. OS service 
count"
 # ticket_4124_should_list_all_disabled.sh
 
 hosts.each do |host|
-  unless host['platform'].include? 'centos' or host['platform'].include? 
'redhat'
+  unless host['platform'].include? 'centos' or host['platform'].include? 'rhel'
     skip_test "Test not supported on this plaform"
    else
     
run_script_on(host,'acceptance-tests/tests/resource/service/ticket_4124_should_list_all_disabled.sh')
-- 
1.7.3.5

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to