Sha256: 3cb652c54c89978f698a1c3c5646e7ce44a7848876fcad7b6a3fefc824003b37

Contents?: true

Size: 848 Bytes

Versions: 8

Compression:

Stored size: 848 Bytes

Contents

######################################################################
#                           NGINX DEFAULTS                           #
######################################################################
module ChickenSoup
  module WebServer
    STANDARD_CONTROL_SCRIPTS = ['/etc/init.d/nginx']
    STANDARD_LOG_LOCATIONS   = ['/var/log/nginx', '/var/log/nginx/current']
    STANDARD_ERROR_LOGS      = ['error.log']
    STANDARD_ACCESS_LOGS     = ['access.log']
  end
end

Capistrano::Configuration.instance(:must_exist).load do
  require   'chicken_soup/capabilities/shared/web_server-defaults'

  namespace :capabilities do
    namespace :defaults do
      desc "[internal] Checks to see what type of Nginx installation is running on the remote."
      task :nginx do
        capabilities.defaults.web_server
      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/nginx/nginx-defaults.rb
chicken_soup-0.8.6 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb
chicken_soup-0.8.5 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb
chicken_soup-0.8.4 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb
chicken_soup-0.8.3 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb
chicken_soup-0.8.2 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb
chicken_soup-0.8.1 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb
chicken_soup-0.8.0 lib/chicken_soup/capabilities/nginx/nginx-defaults.rb