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
lib/puppet/provider
@ -15,8 +15,13 @@ Puppet::Type.type(:cinder_api_paste_ini).provide(
|
|||||||
'='
|
'='
|
||||||
end
|
end
|
||||||
|
|
||||||
def file_path
|
def self.file_path
|
||||||
'/etc/cinder/api-paste.ini'
|
'/etc/cinder/api-paste.ini'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# added for backwards compatibility with older versions of inifile
|
||||||
|
def file_path
|
||||||
|
self.class.file_path
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -15,8 +15,13 @@ Puppet::Type.type(:cinder_config).provide(
|
|||||||
'='
|
'='
|
||||||
end
|
end
|
||||||
|
|
||||||
def file_path
|
def self.file_path
|
||||||
'/etc/cinder/cinder.conf'
|
'/etc/cinder/cinder.conf'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# added for backwards compatibility with older versions of inifile
|
||||||
|
def file_path
|
||||||
|
self.class.file_path
|
||||||
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user