Fix filename of api-paste.ini

Change-Id: I7507c81948b14705c79cf0b11ae362ce79b5504e
Closes-Bug: #1706473
This commit is contained in:
ZhongShengping 2017-07-26 09:31:51 +08:00
parent 58d1c4cc59
commit 089ea93ee1
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Puppet::Type.type(:vitrage_api_paste_ini).provide(
end
def self.file_path
'/etc/vitrage/api_paste.ini'
'/etc/vitrage/api-paste.ini'
end
# added for backwards compatibility with older versions of inifile

View File

@ -3,7 +3,7 @@ Puppet::Type.newtype(:vitrage_api_paste_ini) do
ensurable
newparam(:name, :namevar => true) do
desc 'Section/setting name to manage from /etc/vitrage/api_paste.ini'
desc 'Section/setting name to manage from /etc/vitrage/api-paste.ini'
newvalues(/\S+\/\S+/)
end

View File

@ -18,7 +18,7 @@
# value: barValue
#
# [*vitrage_api_paste_ini*]
# (optional) Allow configuration of /etc/vitrage/api_paste.ini options.
# (optional) Allow configuration of /etc/vitrage/api-paste.ini options.
#
# NOTE: The configuration MUST NOT be already handled by this module
# or Puppet catalog compilation will fail with duplicate resources.