Skip to content

Commit

Permalink
nova, glance and horizon services default config
Browse files Browse the repository at this point in the history
  • Loading branch information
iartarisi committed Mar 27, 2013
1 parent 72f7228 commit 5316c4e
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 3 deletions.
12 changes: 12 additions & 0 deletions Cheffile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ cookbook 'chef-solo-search',

cookbook 'keystone',
:git => 'git://github.com/SUSE-Cloud/cookbook-keystone.git'

cookbook 'glance',
:git => 'git://github.com/SUSE-Cloud/cookbook-glance.git'

cookbook 'nova',
:git => 'git://github.com/SUSE-Cloud/cookbook-nova.git'

cookbook 'apache2',
:git => 'git://github.com/SUSE-Cloud/cookbook-apache2.git'

cookbook 'horizon',
:git => 'git://github.com/SUSE-Cloud/cookbook-horizon.git'
51 changes: 48 additions & 3 deletions nodes/node1.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,72 @@
{"run_list": [
"recipe[chef-solo-search]",

"recipe[postgresql::server]",
"recipe[postgresql::client]",

"recipe[openstack-common]",

"recipe[keystone::db]",
"recipe[keystone::server]"],
"recipe[keystone::server]",

"role[keystone]",
"role[rabbitmq-server]",

"recipe[nova::nova-common]",
"recipe[nova::api-metadata]",
"recipe[nova::db]",
"recipe[nova::nova-setup]",
"recipe[nova::compute]",
"recipe[nova::api-os-compute]",
"recipe[nova::conductor]",
"recipe[nova::scheduler]",
"recipe[nova::vncproxy]",
"recipe[nova::ceilometer-db]",
"recipe[nova::vncproxy]",

"recipe[glance::db]",
"recipe[glance::api]",
"recipe[glance::registry]",

"recipe[horizon::db]",
"recipe[horizon::server]"
],
"postgresql": {
"password": {"postgres": "secret"},
"version": "9.2"
},
"openstack": {
"zypp": {"release": "openSUSE_12.3"},
"release": "master",
"developer_mode": "true",
"developer_mode": true,
"db": {
"identity": {
"db_type": "postgresql",
"port": "5432"
},
"compute": {
"db_type": "postgresql",
"port": "5432"
},
"image": {
"db_type": "postgresql",
"port": "5432"
},
"dashboard": {
"db_type": "postgresql",
"port": "5432"
}
},
"endpoints": {
"identity-api": {"scheme": "http"},
"identity-admin": {"scheme": "http"}
"identity-admin": {"scheme": "http"},
"compute-api": {"scheme": "http"},
"image-api": {"scheme": "http"},
"image-registry": {"scheme": "http"}
}
},
"horizon": {
"use_ssl": false,
"session_backend": "sql"
}
}
2 changes: 2 additions & 0 deletions roles/keystone.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name 'keystone'
description 'keystone role'
2 changes: 2 additions & 0 deletions roles/rabbitmq-server.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name "rabbitmq-server"
default_attributes "queue" => {"host" => "127.0.0.1"}

0 comments on commit 5316c4e

Please sign in to comment.