Displaying 1 result from an estimated 1 matches for "should_to_s".
2013 Feb 25
2
defaultto in hash property not obeyed
...ved from manifest, so return false
return false unless is.class == Hash and should.class == Hash and
is.keys.sort == should.keys.sort
# check if values of hash keys are equal
is.each do |l,w|
return false unless w == should[l]
end
true
end
def should_to_s(newvalue)
newvalue.inspect
end
def is_to_s(currentvalue)
currentvalue.inspect
end
end
But, if I change the system manually, and if kernel_options property is
not set in my resource, then puppet doesn''t change the system back to
it''s original v...