Sha256: ef97a0ca20744a77c1873e2c7938c6bad456c28b2c0d8d2e89e8ddb80c930d5d

Contents?: true

Size: 805 Bytes

Versions: 20

Compression:

Stored size: 805 Bytes

Contents

set :deploy_var, "tester"
set :deploy_var_2, "bongo"
set :deploy_var_3, ["one","two"]
server :test, :addresses => ["slashdot.org","google.com"], :user => "root"
server :test2, :addresses => ["bongo.org","bangler.com"], :user => "root"

task_for :task1, :server => :test do
  set :deploy_var_2, "shasta"
  set :bango, "bongo"
  run "deploy dir = #{deploy_var}"
  run "command 2"
  run "command 3"
  run :deploy_var
  run :deploy_var_2
  run :bango
end

task_for :task2, :server => :test do
  set :deploy_var_2, "purple"
  set :deploy_var_3, "mountain dew"
end

task_for :task3, :servers => [:test, :test2] do
  run "ls"
  local "ls" #empty in tests so it doesn't pollute
end

task_for :seq2, :server => :test do
  run "2"
end

task_for :non_parallel, :server => :test, :parallel => false do
  run "ls"
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
screwcap-0.8.3 test/config/simple_recipe.rb
screwcap-0.8.2 test/config/simple_recipe.rb
screwcap-0.8.1 test/config/simple_recipe.rb
screwcap-0.8 test/config/simple_recipe.rb
screwcap-0.7.4 test/config/simple_recipe.rb
screwcap-0.7.3 test/config/simple_recipe.rb
screwcap-0.7.2 test/config/simple_recipe.rb
screwcap-0.7.1 test/config/simple_recipe.rb
screwcap-0.7 test/config/simple_recipe.rb
screwcap-0.6.3 test/config/simple_recipe.rb
screwcap-0.6.2 test/config/simple_recipe.rb
screwcap-0.6.1 test/config/simple_recipe.rb
screwcap-0.6 test/config/simple_recipe.rb
screwcap-0.6.pre6 test/config/simple_recipe.rb
screwcap-0.6.pre5 test/config/simple_recipe.rb
screwcap-0.6.pre4 test/config/simple_recipe.rb
screwcap-0.6.pre3 test/config/simple_recipe.rb
screwcap-0.6.pre2 test/config/simple_recipe.rb
screwcap-0.6.pre test/config/simple_recipe.rb
screwcap-0.5 test/config/simple_recipe.rb