Fix filename of api_paste.ini

Change-Id: Ib5120da8ae706a1314700364597d53071e48607b
Closes-Bug: #1706473
This commit is contained in:
ZhongShengping 2017-07-26 09:26:33 +08:00
parent 4954b5e626
commit 61aadfc5dd
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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