Sha256: 98131e602f376399def8c3914e1b0802885d528173698c901306bdf093574690

Contents?: true

Size: 763 Bytes

Versions: 2

Compression:

Stored size: 763 Bytes

Contents

#
# Capfile for running base install recipe
#

load 'deploy' if respond_to?(:namespace) # cap2 differentiator

require 'lib/capitate'

# Load recipes
require 'lib/capitate/recipes'

require 'erb'

# Test
task :test_egrep do  
  role :test, "10.0.6.118", :user => "root"
  
  found = utils.egrep("^mail.\\*", "/etc/syslog.conf")
  puts "Found? #{found}"
  
  found = utils.egrep("^fooo", "/etc/syslog.conf")
  puts "Found? #{found}"
end

task :test_app do  
  set :application, "sick"
  set :deploy_to, "/var/www/apps/sick"
  role :web, "10.0.6.118", :user => "root"
  role :app, "10.0.6.118", :user => "root"
end

task :test_install do
  load File.dirname(__FILE__) + "/lib/deployment/centos-5.1-64-web/install.rb"
  role :test, "10.0.6.118", :user => "root"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capitate-0.2.11 Capfile
capitate-0.2.13 Capfile