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:
Thomas Goirand 2021-07-12 10:03:22 +02:00
parent c7ca0717a2
commit b8fba23ef3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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