fluke/devops-service/config-local.rb
Tim Lianov 03dc3d8d99 v3
2018-04-04 22:44:39 +03:00

31 lines
819 B
Ruby

# path to log dir
config[:log_dir] = "/var/log/"
# path to chef knife.rb file
config[:knife_config_file] = "/home/amartynov/.chef/knife.rb"
# role name separator
config[:role_separator] = "_"
# mongodb settings
config[:mongo_host] = "localhost"
config[:mongo_port] = 27017
config[:mongo_db] = "devops"
config[:db_config] = "./config/mongo.yml"
#config[:mongo_user] = "user"
#config[:mongo_password] = "pass"
# 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"
config[:providers] = ["aws", "openstack", "static"]
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