Merge "ini_setting: Skip transformer if value is not changed"

This commit is contained in:
Zuul
2022-08-01 09:16:00 +00:00
committed by Gerrit Code Review

View File

@@ -20,7 +20,10 @@ Puppet::Type.type(:openstack_config).provide(
end
def create
resource[:value] = transform(:to, resource[:value])
new_value = transform(:to, resource[:value])
if resource[:value] != new_value
resource[:value] = new_value
end
super
end