Fix filename of api_paste.ini
Change-Id: Ib5120da8ae706a1314700364597d53071e48607b Closes-Bug: #1706473
This commit is contained in:
@@ -16,7 +16,7 @@ Puppet::Type.type(:aodh_api_paste_ini).provide(
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.file_path
|
def self.file_path
|
||||||
'/etc/aodh/api_paste.ini'
|
'/etc/aodh/api-paste.ini'
|
||||||
end
|
end
|
||||||
|
|
||||||
# added for backwards compatibility with older versions of inifile
|
# added for backwards compatibility with older versions of inifile
|
||||||
|
@@ -3,7 +3,7 @@ Puppet::Type.newtype(:aodh_api_paste_ini) do
|
|||||||
ensurable
|
ensurable
|
||||||
|
|
||||||
newparam(:name, :namevar => true) do
|
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+/)
|
newvalues(/\S+\/\S+/)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
# value: barValue
|
# value: barValue
|
||||||
#
|
#
|
||||||
# [*aodh_api_paste_ini*]
|
# [*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
|
# NOTE: The configuration MUST NOT be already handled by this module
|
||||||
# or Puppet catalog compilation will fail with duplicate resources.
|
# or Puppet catalog compilation will fail with duplicate resources.
|
||||||
|
Reference in New Issue
Block a user