Sha256: 46999294312ba308842863aa94156c281780ffa14e776f4285ec4d89ad2585a3

Contents?: true

Size: 943 Bytes

Versions: 10

Compression:

Stored size: 943 Bytes

Contents

######################################################################
#                          POSTGRES CHECKS                           #
######################################################################
Capistrano::Configuration.instance(:must_exist).load do
  require 'chicken_soup/capabilities/shared/db-checks'

  namespace :capabilities do
    namespace :variable do
      namespace :check do
        desc <<-DESC
          [internal] Checks to see if all necessary Postgres capabilities variables have been set up.
        DESC
        task :postgres do
          capabilities.variable.check.db
        end
      end
    end
  end

  namespace :capabilities do
    namespace :deployment do
      namespace :check do
        desc <<-DESC
          [internal] Checks to see Postgres is ready for deployment.
        DESC
        task :postgres do
          capabilities.deployment.check.db
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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