add support for purging config files
the same as: https://github.com/puppetlabs/puppetlabs-glance/pull/68
This commit is contained in:
parent
b7d780468a
commit
02d89b88c9
@ -15,8 +15,13 @@ Puppet::Type.type(:cinder_api_paste_ini).provide(
|
||||
'='
|
||||
end
|
||||
|
||||
def file_path
|
||||
def self.file_path
|
||||
'/etc/cinder/api-paste.ini'
|
||||
end
|
||||
|
||||
# added for backwards compatibility with older versions of inifile
|
||||
def file_path
|
||||
self.class.file_path
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -15,8 +15,13 @@ Puppet::Type.type(:cinder_config).provide(
|
||||
'='
|
||||
end
|
||||
|
||||
def file_path
|
||||
def self.file_path
|
||||
'/etc/cinder/cinder.conf'
|
||||
end
|
||||
|
||||
# added for backwards compatibility with older versions of inifile
|
||||
def file_path
|
||||
self.class.file_path
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user