Browse files

nova, glance and horizon services default config

  • Loading branch information...
1 parent 72f7228 commit 5316c4e7f151439ef4b8c5843c4598b2f9b65f04 @mapleoin mapleoin committed Mar 27, 2013
Showing with 64 additions and 3 deletions.
  1. +12 −0 Cheffile
  2. +48 −3 nodes/node1.json
  3. +2 −0 roles/keystone.rb
  4. +2 −0 roles/rabbitmq-server.rb
View
12 Cheffile
@@ -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'
View
51 nodes/node1.json
@@ -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"
}
}
View
2 roles/keystone.rb
@@ -0,0 +1,2 @@
+name 'keystone'
+description 'keystone role'
View
2 roles/rabbitmq-server.rb
@@ -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.