Merge "Add missing namevar method to openstack_config provider"
This commit is contained in:
@@ -28,6 +28,10 @@ Puppet::Type.type(:openstack_config).provide(:ruby) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.namevar(section_name, setting)
|
||||||
|
"#{section_name}/#{setting}"
|
||||||
|
end
|
||||||
|
|
||||||
def exists?
|
def exists?
|
||||||
if resource[:value] == ensure_absent_val
|
if resource[:value] == ensure_absent_val
|
||||||
resource[:ensure] = :absent
|
resource[:ensure] = :absent
|
||||||
|
Reference in New Issue
Block a user