This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
/
rake.rb
60 lines (42 loc) · 1.62 KB
/
rake.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
###
# Company and SSL Details
###
# The company name - used for SSL certificates, and in srvious other places
COMPANY_NAME = "Example Com"
# The Country Name to use for SSL Certificates
SSL_COUNTRY_NAME = "US"
# The State Name to use for SSL Certificates
SSL_STATE_NAME = "Several"
# The Locality Name for SSL - typically, the city
SSL_LOCALITY_NAME = "Locality"
# What department?
SSL_ORGANIZATIONAL_UNIT_NAME = "Operations"
# The SSL contact email address
SSL_EMAIL_ADDRESS = "ops@example.com"
# License for new Cookbooks
# Can be :apachev2 or :none
NEW_COOKBOOK_LICENSE = :apachev2
##########################
# Chef Repository Layout #
##########################
# Where to install upstream cookbooks for serving
COOKBOOK_PATH = "/srv/chef/cookbooks"
# Where to install site-local modifications to upstream cookbooks
SITE_COOKBOOK_PATH = "/srv/chef/site-cookbooks"
# Where to install roles
ROLE_PATH = "/srv/chef/roles"
# Chef Config Path
CHEF_CONFIG_PATH = "/etc/chef"
# The location of the Chef Server Config file (on the server)
CHEF_SERVER_CONFIG = File.join(CHEF_CONFIG_PATH, "server.rb")
# The location of the Chef Client Config file (on the client)
CHEF_CLIENT_CONFIG = File.join(CHEF_CONFIG_PATH, "client.rb")
###
# Useful Extras (which you probably don't need to change)
###
# The top of the repository checkout
TOPDIR = File.expand_path(File.join(File.dirname(__FILE__), ".."))
# Where to store certificates generated with ssl_cert
CADIR = File.expand_path(File.join(TOPDIR, "certificates"))
# Where to store the mtime cache for the recipe/template syntax check
TEST_CACHE = File.expand_path(File.join(TOPDIR, ".rake_test_cache"))