Switch to ini_settings

This fixes the puppet run going from ['32'] to '32' constantly.

Change-Id: Ifffe0e5835495221e94f5d4f0b48f171ede3eb09
This commit is contained in:
Thomas Goirand 2022-01-21 17:18:06 +01:00 committed by Takashi Kajinami
parent 6c7c3c1c71
commit c13f2ffe8a
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Puppet::Type.type(:designate_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

@ -1,5 +1,5 @@
require 'spec_helper'
provider_class = Puppet::Type.type(:designate_api_uwsgi_config).provider(:openstackconfig)
provider_class = Puppet::Type.type(:designate_api_uwsgi_config).provider(:ini_setting)
describe provider_class do
it 'should default to the default setting when no other one is specified' do