set trove_volume_support from the attribute in taskmanager.conf
Previously this was only done in trove.conf, but it needs to be configurable here as well. Change-Id: If99fc178307b482b418d4acb42f775c2497121cf
This commit is contained in:
parent
7195e30f65
commit
e897bd4e69
|
@ -43,7 +43,8 @@ describe 'openstack-database::taskmanager' do
|
|||
%r{^cinder_url = http://127.0.0.1:8776/v1/$},
|
||||
%r{^swift_url = http://127.0.0.1:8080/v1/$},
|
||||
%r{^dns_auth_url = http://127.0.0.1:5000/v2.0$},
|
||||
%r{^log_dir = /var/log/trove}
|
||||
%r{^log_dir = /var/log/trove},
|
||||
/^trove_volume_support = true$/
|
||||
].each do |content|
|
||||
expect(chef_run).to render_file(filename).with_content(content)
|
||||
end
|
||||
|
|
|
@ -44,7 +44,7 @@ cinder_url = <%= @block_storage_uri %>
|
|||
swift_url = <%= @object_storage_uri %>
|
||||
|
||||
# Config options for enabling volume service
|
||||
trove_volume_support = True
|
||||
trove_volume_support = <%= node['openstack']['database']['volume_support'] %>
|
||||
block_device_mapping = vdb
|
||||
device_path = /dev/vdb
|
||||
mount_point = /var/lib/mysql
|
||||
|
|
Loading…
Reference in New Issue