Merge "Add missing namevar method to openstack_config provider"

This commit is contained in:
Jenkins
2016-08-13 05:02:55 +00:00
committed by Gerrit Code Review

View File

@@ -28,6 +28,10 @@ Puppet::Type.type(:openstack_config).provide(:ruby) do
end
end
def self.namevar(section_name, setting)
"#{section_name}/#{setting}"
end
def exists?
if resource[:value] == ensure_absent_val
resource[:ensure] = :absent