Adds misc options

This change adds support for miscellaneous options to be set.
Things that haven't been added as attributes, or specifically,
third party additions that don't belong in stackforge (e.g. cobalt)

Change-Id: Ibea4076b4e715cec6d2eaf5ac71c36aebf2957d7
This commit is contained in:
alop 2013-12-18 16:23:30 -08:00
parent 507bb4ce60
commit 4eed02ef2b
4 changed files with 13 additions and 1 deletions

View File

@ -233,6 +233,11 @@ OSAPI Compute Extentions
* `openstack["compute"]["plugins"]` - Array of osapi compute exntesions to add to nova
Miscellaneous Options
---------------------
* `openstack["compute"]["misc"]` - Array of bare options for nova.conf (e.g. 'option=value')
EC2 Configuration Attributes
----------------------------

View File

@ -366,6 +366,7 @@ end
# plugins
default["openstack"]["compute"]["plugins"] = nil
default["openstack"]["compute"]["misc"] = nil
# To disable the EC2 API endpoint, simply remove "ec2," from the list
# of enabled API services.

View File

@ -4,7 +4,7 @@ maintainer_email "matt@opscode.com"
license "Apache 2.0"
description "The OpenStack Compute service Nova."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "7.2.4"
version "7.3.0"
recipe "openstack-compute::api-ec2", "Installs AWS EC2 compatible API"
recipe "openstack-compute::api-metadata", "Installs the nova metadata package"

View File

@ -263,6 +263,12 @@ osapi_compute_extension=<%= p %>
<% end %>
<% end %>
<% if node["openstack"]["compute"]["misc"] %>
<% node["openstack"]["compute"]["misc"].each do |m| %>
<%= m %>
<% end %>
<% end %>
[conductor]
use_local=<%= node["openstack"]["compute"]["conductor"]["use_local"] %>