blob: 03c4fdc7f8365e02de9154a3d721139df28f183b (
plain)
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
|
class Chef
class Dist
require "chef-config/dist"
# This class is not fully implemented, depending on it is not recommended!
# When referencing a product directly, like Chef (Now Chef Infra)
PRODUCT = "Chef Infra Client".freeze
# A short designation for the product, used in Windows event logs
# and some nomenclature.
SHORT = "chef".freeze
# The name of the server product
SERVER_PRODUCT = "Chef Infra Server".freeze
# The client's alias (chef-client)
CLIENT = "chef-client".freeze
# name of the automate product
AUTOMATE = "Chef Automate".freeze
# The chef executable, as in `chef gem install` or `chef generate cookbook`
EXEC = ChefConfig::Dist::EXEC.freeze
# A short name for the project, used in configurations
# Log messages, descriptions, etc...
SHORT = "chef".freeze
# product website address
WEBSITE = "https://chef.io".freeze
# Chef-Zero's product name
ZERO = "Chef Infra Zero".freeze
# Chef-Solo's product name
SOLO = "Chef Infra Solo".freeze
# The chef-zero executable (local mode)
ZEROEXEC = "chef-zero".freeze
# The chef-solo executable (legacy local mode)
SOLOEXEC = "chef-solo".freeze
# The chef-shell executable
SHELL = "chef-shell".freeze
# Configuration related constants
# The chef-shell configuration file
SHELL_CONF = "chef_shell.rb".freeze
# The configuration directory
CONF_DIR = ChefConfig::Dist::CONF_DIR.freeze
# The user's configuration directory
USER_CONF_DIR = ".chef".freeze
# The server's configuration directory
SERVER_CONF_DIR = "/etc/chef-server".freeze
end
end
|