add support for purging config files

the same as:
https://github.com/puppetlabs/puppetlabs-glance/pull/68
This commit is contained in:
Dan Bode 2013-03-04 16:16:18 -08:00
parent b7d780468a
commit 02d89b88c9
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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