Sha256: 9f094baaecf43ef8daa7cd6a2db9a2dd1cbcf8338406f008830a394503490ef1

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

######################################################################
#                             UNIX CHECKS                            #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  extend ChickenSoup

  namespace :capabilities do
    namespace :variable do
      namespace :check do
        desc <<-DESC
          [internal] Checks to see if all necessary unix environment variables have been set up.
        DESC
        task :unix do
          required_variables = [
            :user,
            :deployment_username,
            :manager_username,
            :user_home,
            :deployment_user_home,
            :manager_user_home,
            :deploy_base_dir,
            :deploy_site_name,
            :deploy_to,
            :app_server_ip,
            :web_server_ip,
            :db_server_ip,
            :web_servers,
            :app_servers,
            :db_servers
          ]

          verify_variables(required_variables)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chicken_soup-0.6.1 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.6.0 lib/chicken_soup/capabilities/unix/unix-checks.rb