Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #237 from tmatilai/centos-integrations-tests
Browse files Browse the repository at this point in the history
CentOS 5.6 integration test fails
  • Loading branch information
tmatilai committed May 3, 2013
2 parents e9572f2 + deb622d commit 9fc3467
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ test/integration/cases/cache_path_usage.rb
test/integration/cases/empty_cook.rb
test/integration/cases/encrypted_data_bag.rb
test/integration/cases/knife_bootstrap.rb
test/integration/centos5_6_test.rb
test/integration/centos5_8_test.rb
test/integration/centos6_3_test.rb
test/integration/debian6_bootstrap_test.rb
test/integration/debian7_knife_bootstrap_test.rb
test/integration/gentoo2011_test.rb
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
require 'integration_helper'

class Centos5_6Test < IntegrationTest
class Centos5_8Test < IntegrationTest
def user
"root"
end

def image_id
"ami-3fe42456"
"ami-100e8a79"
end

include EmptyCook
Expand Down
24 changes: 24 additions & 0 deletions test/integration/centos6_3_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
require 'integration_helper'

class Centos6_3Test < IntegrationTest
def user
"root"
end

def image_id
"ami-86e15bef"
end

def prepare_server
disable_firewall
super
end

def disable_firewall
system "ssh #{connection_string} service iptables stop >> #{log_file}"
end

include EmptyCook
include Apache2Cook
include EncryptedDataBag
end

0 comments on commit 9fc3467

Please sign in to comment.