uwsgi_config: Use init_setting, not openstacksetting
The way the patch was sent, it always want to change the magnum uwsgi file on each run. This fixes it. Change-Id: I1f2910686216d3ce3cf6dab41d3bdc7a52606f87
This commit is contained in:
parent
c7ca0717a2
commit
b8fba23ef3
@ -1,6 +1,6 @@
|
||||
Puppet::Type.type(:magnum_api_uwsgi_config).provide(
|
||||
:openstackconfig,
|
||||
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
||||
:ini_setting,
|
||||
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
||||
) do
|
||||
|
||||
def self.file_path
|
@ -26,7 +26,7 @@ $LOAD_PATH.push(
|
||||
'lib')
|
||||
)
|
||||
require 'spec_helper'
|
||||
provider_class = Puppet::Type.type(:magnum_api_uwsgi_config).provider(:openstackconfig)
|
||||
provider_class = Puppet::Type.type(:magnum_api_uwsgi_config).provider(:ini_setting)
|
||||
describe provider_class do
|
||||
|
||||
it 'should default to the default setting when no other one is specified' do
|
Loading…
Reference in New Issue
Block a user