Sha256: 52f4f22214efc2dbbfcef72e615c927f79bf23db67d3fd4402101bd7305b9644
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
require "rubygems" require "right_aws" module VirtualMonkey class PatchRunner include VirtualMonkey::DeploymentRunner # It's not that I'm a Java fundamentalist; I merely believe that mortals should # not be calling the following methods directly. Instead, they should use the # TestCaseInterface methods (behavior, verify, probe) to access these functions. # Trust me, I know what's good for you. -- Tim R. private def initialize(args) super(args) end # Grab the scripts we plan to excersize def lookup_scripts scripts = [ [ 'test_patch', 'TEST' ] ] server = @servers.first server.settings st = ServerTemplate.find(server.server_template_href) lookup_scripts_table(st,scripts) end def set_user_data(value) @servers.each do |server| server.settings server.ec2_user_data = value server.save end end # run the patch test script def run_patch_test @servers.each do |server| run_script('test_patch', server) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
virtualmonkey-0.0.1 | lib/virtualmonkey/patch_runner.rb |