Browse files

Minor descriptions updates. Removed requires.

  • Loading branch information...
1 parent c5f4e89 commit 857c528c4c3145099b1c134eaa533a3b20706a8a @iafonov committed Jul 13, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 Rakefile
View
7 Rakefile
@@ -1,13 +1,10 @@
-require 'rubygems'
-require 'chef'
-
namespace :deploy do
task :default => :all
- desc 'Update chef server with roles and cookboks and deploy application'
+ desc 'Update chef server with roles and cookbooks and run chef-client on nodes'
task :all => [:roles, :cookbooks, :application]
- desc 'Push application code to all servers'
+ desc 'Run chef-client on all nodes'
task :application do
puts 'Running chef-clients:'
system('./bin/knife ssh "role:*" -x deploy "sudo chef-client"')

0 comments on commit 857c528

Please sign in to comment.