Top Level Namespace

Defined Under Namespace

Modules: AWS, Conan, Fog

Constant Summary collapse

COMPANY_NAME =

The company name - used for SSL certificates, and in srvious other places

"Example Com"
SSL_COUNTRY_NAME =

The Country Name to use for SSL Certificates

"US"
SSL_STATE_NAME =

The State Name to use for SSL Certificates

"Washington"
SSL_LOCALITY_NAME =

The Locality Name for SSL - typically, the city

"Seattle"
SSL_ORGANIZATIONAL_UNIT_NAME =

What department?

"Operations"
SSL_EMAIL_ADDRESS =

The SSL contact email address

"[email protected]"
NEW_COOKBOOK_LICENSE =

License for new Cookbooks Can be :apachev2 or :none

:apachev2
COOKBOOK_PATH =

Where to find upstream cookbooks

"/var/chef/cookbooks"
SITE_COOKBOOK_PATH =

Where to find site-local modifications to upstream cookbooks

"/var/chef/site-cookbooks"
CHEF_CONFIG_PATH =

Chef Config Path

"/etc/chef"
CHEF_SERVER_CONFIG =

The location of the Chef Server Config file (on the server)

File.join(CHEF_CONFIG_PATH, "server.rb")
CHEF_CLIENT_CONFIG =

The location of the Chef Client Config file (on the client)

File.join(CHEF_CONFIG_PATH, "client.rb")
TOPDIR =

The top of the repository checkout

File.expand_path(File.join(File.dirname(__FILE__), ".."))
CADIR =

Where to store certificates generated with ssl_cert

File.expand_path(File.join(TOPDIR, "certificates"))

Instance Method Summary collapse

Methods included from Conan::Deployment::Helpers

#add_role, #close_sessions, #git_log, #git_tag, #real_revision, #with_user

Instance Method Details

#_cset(name, *args, &block) ⇒ Object



1
2
3
4
5
# File 'lib/conan/common.rb', line 1

def _cset(name, *args, &block)
    unless exists?(name)
      set(name, *args, &block)
    end
end