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(
|
Puppet::Type.type(:magnum_api_uwsgi_config).provide(
|
||||||
:openstackconfig,
|
:ini_setting,
|
||||||
:parent => Puppet::Type.type(:openstack_config).provider(:ruby)
|
:parent => Puppet::Type.type(:openstack_config).provider(:ini_setting)
|
||||||
) do
|
) do
|
||||||
|
|
||||||
def self.file_path
|
def self.file_path
|
@ -26,7 +26,7 @@ $LOAD_PATH.push(
|
|||||||
'lib')
|
'lib')
|
||||||
)
|
)
|
||||||
require 'spec_helper'
|
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
|
describe provider_class do
|
||||||
|
|
||||||
it 'should default to the default setting when no other one is specified' do
|
it 'should default to the default setting when no other one is specified' do
|
Loading…
Reference in New Issue
Block a user