2015-07-16 13:19:33 +03:00
|
|
|
# path to log dir
|
|
|
|
|
config[:log_dir] = "/path/to/log"
|
2014-05-08 15:34:26 +04:00
|
|
|
# path to chef knife.rb file
|
|
|
|
|
config[:knife_config_file] = "/path/to/.chef/knife.rb"
|
|
|
|
|
# role name separator
|
|
|
|
|
config[:role_separator] = "_"
|
|
|
|
|
|
|
|
|
|
# mongodb settings
|
|
|
|
|
config[:mongo_host] = "localhost"
|
|
|
|
|
config[:mongo_port] = 27017
|
|
|
|
|
config[:mongo_db] = "devops"
|
2014-12-12 13:22:42 +03:00
|
|
|
#config[:mongo_user] = "user"
|
|
|
|
|
#config[:mongo_password] = "pass"
|
2014-05-08 15:34:26 +04:00
|
|
|
|
|
|
|
|
# devops port
|
|
|
|
|
config[:port] = 7070
|
|
|
|
|
|
|
|
|
|
# path to devops-client.gem file
|
|
|
|
|
config[:client_file] = "/path/to/public/devops-client.gem"
|
|
|
|
|
# path to devops public directory
|
|
|
|
|
config[:public_dir] = "/path/to/public"
|
|
|
|
|
|
|
|
|
|
# openstack settings
|
|
|
|
|
config[:openstack_username] = "openstack_username"
|
|
|
|
|
config[:openstack_api_key] = "openstack_pass"
|
|
|
|
|
config[:openstack_auth_url] = "http://openstack.host:5000/v2.0/tokens"
|
|
|
|
|
config[:openstack_tenant] = "tenant"
|
|
|
|
|
config[:openstack_ssh_key] = "ssh_key"
|
|
|
|
|
config[:openstack_certificate] = "/path/to/.ssh/openstack.pem"
|
|
|
|
|
|
|
|
|
|
# aws settings
|
2015-12-07 14:14:10 +03:00
|
|
|
config[:aws_use_iam_profile] = false
|
2014-05-08 15:34:26 +04:00
|
|
|
config[:aws_access_key_id] = "access_key_id"
|
|
|
|
|
config[:aws_secret_access_key] = "secret_access_key"
|
|
|
|
|
config[:aws_ssh_key] = "ssh_key"
|
|
|
|
|
config[:aws_certificate] = "/path/to/.ssh/ec2.pem"
|
|
|
|
|
config[:aws_availability_zone] = "aws_zone"
|
2015-08-07 11:36:50 +03:00
|
|
|
config[:aws_proxy] = ""
|
|
|
|
|
config[:aws_no_proxy] = ""
|
2014-06-18 15:11:47 +04:00
|
|
|
|
|
|
|
|
# static settings
|
|
|
|
|
config[:static_ssh_key] = "ssh_key" # or nil
|
|
|
|
|
config[:static_certificate] = "/path/to/.ssh/static.pem"
|
2015-02-12 13:30:49 +03:00
|
|
|
|
|
|
|
|
config[:debug] = true
|
2015-07-13 18:55:41 +03:00
|
|
|
|
|
|
|
|
# set it to :all or [:ec2] to stub calls to selected providers
|
|
|
|
|
# or to false to disable stubbing
|
2015-07-27 16:42:28 +03:00
|
|
|
config[:stub_providers] = false
|