Sha256: f244937cc2e1481e62be7c17d383d698f53881512a55db5469bb15dd3f7c0ae4

Contents?: true

Size: 971 Bytes

Versions: 2

Compression:

Stored size: 971 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
chicken_soup-0.4.1 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.4.0 lib/chicken_soup/capabilities/unix/unix-checks.rb