fluke/devops-service/config.rb

49 lines
1.4 KiB
Ruby
Raw Normal View History

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
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] = ""
# 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
# set it to :all or [:ec2] to stub calls to selected providers
# or to false to disable stubbing
config[:stub_providers] = false