Capfile in capitate-0.1.7 vs Capfile in capitate-0.1.8
- old
+ new
@@ -5,20 +5,12 @@
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
require 'lib/capitate'
# Load recipes
-Dir["lib/recipes/**/*.rb"].each { |recipe| load recipe }
+require 'lib/capitate/recipes'
require 'erb'
-# This should be overriden by project specific Capfile
-set :user, Proc.new { Capistrano::CLI.ui.ask('Bootstrap user: ') }
-# Roles
-role :base, Capistrano::CLI.ui.ask('Server: ')
-
-# Choose a profile
-set :profile, Proc.new { load profile.choose }
-
-# Reset the password var
-reset_password
\ No newline at end of file
+set :recipes_run, [ "centos:setup_for_web", "packages:install", "ruby:centos:install" ]
+set :user, "root"