Sha256: 3175b23c0c8e161aa2771169a2418f4d6c464599e8da68e71bb061e284e248cf

Contents?: true

Size: 272 Bytes

Versions: 6

Compression:

Stored size: 272 Bytes

Contents

server :test, :address => "abc.com", :user => "root"
set :variable, 1

command_set :revert do
  run "revert"
end

command_set :failover do
  run "echo 'we failed'"
end

task_for :expect, :server => :test do 
  run "this will fail", :onfailure => :failover
  run "ls"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
screwcap-0.3.5 test/config/expect.rb
screwcap-0.3.4 test/config/expect.rb
screwcap-0.3.3 test/config/expect.rb
screwcap-0.3.2 test/config/expect.rb
screwcap-0.3.1 test/config/expect.rb
screwcap-0.3 test/config/expect.rb