Sha256: 825332b5dc39b79883388631e183a4e8d9bfc9b972639f17f73f6fb877b4c04f

Contents?: true

Size: 1.04 KB

Versions: 8

Compression:

Stored size: 1.04 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_server_name,
            :app_server_name,
            :db_server_name
          ]

          verify_variables(required_variables)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
chicken_soup-0.9.0 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.6 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.5 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.4 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.3 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.2 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.1 lib/chicken_soup/capabilities/unix/unix-checks.rb
chicken_soup-0.8.0 lib/chicken_soup/capabilities/unix/unix-checks.rb