Sha256: 12c5c2fa2a0af6631ee4fc3f0537f54b2d8994c4307c03514b595257fb1360cc

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

######################################################################
#                             UNIX CHECKS                            #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  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

3 entries across 3 versions & 1 rubygems

Version Path
chicken_soup-0.5.3 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.5.2 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.5.0 lib/chicken_soup/capabilities/unix/unix-checks.rb