Switch to ini_settings
This fixes the puppet run going from ['32'] to '32' constantly. Change-Id: Ifffe0e5835495221e94f5d4f0b48f171ede3eb09
This commit is contained in:
committed by
Takashi Kajinami
parent
6c7c3c1c71
commit
c13f2ffe8a
@@ -1,6 +1,6 @@
|
|||||||
Puppet::Type.type(:designate_api_uwsgi_config).provide(
|
Puppet::Type.type(:designate_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
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
require 'spec_helper'
|
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
|
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
|
||||||
Reference in New Issue
Block a user