You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used :true/:false with munge in newproperty() and Puppet::Parameter::Boolean as parent in newparam() a long time.
Then I discovered Puppet::Property::Boolean and thought the boolean issues was fixed with this class ....
Describe the Bug
I have a custom type with a boolean property defined as
On puppet run when 'is' value is true and 'should' value is false, the insync? is never invoked and puppet does not change the value of the property!
I think the problem is here https://github.com/puppetlabs/puppet/blob/main/lib/puppet/property.rb#L274
When @should is false at this point
safe_insync?
never invokeinsync?
Expected Behavior
I would expect puppet to change the value from true to false
The text was updated successfully, but these errors were encountered: