Sha256: 9841f4ea893de734a3fb170c8642aa1f99f1a550d2b7ad747c1711c3bd0cdb08

Contents?: true

Size: 574 Bytes

Versions: 1

Compression:

Stored size: 574 Bytes

Contents

module Capstrap
  module Chef
    
    def self.load_into(configuration)
      configuration.load do
        
        namespace :chef do
          namespace :install do
            
            desc "Installs chef solo"
            task :solo do
              cmd = [
                %{use default@global},
                %{gem install chef}
              ]
              rvm_run cmd.join(" && ")
            end
          end
        end
      end
    end
  end
end

if Capistrano::Configuration.instance
  Capstrap::Chef.load_into(Capistrano::Configuration.instance)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capstrap-0.1.0 lib/capistrano/ext/capstrap/chef.rb