-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.rb
More file actions
23 lines (21 loc) · 1.04 KB
/
Copy pathclient.rb
File metadata and controls
23 lines (21 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
supportdir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
tmpdir = File.expand_path(File.join(File.dirname(__FILE__), "..", "tmp"))
log_level :error
log_location STDOUT
file_cache_path File.join(tmpdir, "cache")
ssl_verify_mode :verify_none
registration_url "http://127.0.0.1:4000"
template_url "http://127.0.0.1:4000"
remotefile_url "http://127.0.0.1:4000"
search_url "http://127.0.0.1:4000"
role_url "http://127.0.0.1:4000"
client_url "http://127.0.0.1:4000"
chef_server_url "http://127.0.0.1:4000"
validation_client_name "validator"
systmpdir = File.expand_path(File.join(Dir.tmpdir, "chef_integration"))
validation_key File.join(systmpdir, "validation.pem")
client_key File.join(systmpdir, "client.pem")
cache_type "Memory"
cache_options({})
Ohai::Config[:disabled_plugins] << 'darwin::system_profiler' << 'darwin::kernel' << 'darwin::ssh_host_key' << 'network_listeners'
Ohai::Config[:disabled_plugins ]<< 'darwin::uptime' << 'darwin::filesystem' << 'dmi' << 'lanuages' << 'perl' << 'python' << 'java'