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
|
require 'tmpdir'
supportdir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
tmpdir = File.expand_path(File.join(File.dirname(__FILE__), "..", "tmp"))
solr_tmp_dir = '/tmp/chef_solr_for_features'
log_level :debug
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"
chef_server_url "http://127.0.0.1:4000"
client_url "http://127.0.0.1:4000"
cookbook_path [File.join(tmpdir, "cookbooks"), File.join(supportdir, "cookbooks")]
sandbox_path File.join(tmpdir, "sandboxes")
# checksum_path is where files in sandbox commits (during cookbook upload) are moved
checksum_path File.expand_path(File.join(File.dirname(__FILE__), "..", "repo", "checksums"))
openid_store_path File.join(tmpdir, "openid", "store")
openid_cstore_path File.join(tmpdir, "openid", "cstore")
role_path File.join(supportdir, "roles")
signing_ca_path File.join(tmpdir, "ca")
couchdb_database 'chef_integration'
systmpdir = File.expand_path(File.join(Dir.tmpdir, "chef_integration"))
validation_client_name "validator"
validation_key File.join(systmpdir, "validation.pem")
client_key File.join(systmpdir, "client.pem")
web_ui_client_name "chef-webui"
web_ui_key File.join(systmpdir, "webui.pem")
solr_jetty_path File.join(solr_tmp_dir, "solr-jetty")
solr_data_path File.join(solr_tmp_dir, "solr", "data")
solr_home_path File.join(solr_tmp_dir, "solr")
solr_heap_size "250M"
amqp_host '0.0.0.0'
amqp_port 5672
amqp_user 'chef'
amqp_pass 'testing'
amqp_vhost '/chef'
amqp_consumer_id "aaaaaaaa-bbbb-cccc-dddd-eeee-ffffffffffffffff"
Mixlib::Log::Formatter.show_time = true
cache_options({ :path => File.join(tmpdir, "server-checksums") })
|