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:
parent
507bb4ce60
commit
4eed02ef2b
|
@ -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
|
||||
----------------------------
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"] %>
|
||||
|
|
Loading…
Reference in New Issue