Previously the output that changed was munged when puppet was being ran, this
change provides a comma seperated output when the values change instead.
@resource.string_to_port(value)
end
+ def is_to_s(value)
+ should_to_s(value)
+ end
+
def should_to_s(value)
value = [value] unless value.is_a?(Array)
value.join(',')
@resource.string_to_port(value)
end
+ def is_to_s(value)
+ should_to_s(value)
+ end
+
def should_to_s(value)
value = [value] unless value.is_a?(Array)
value.join(',')
@resource.string_to_port(value)
end
+ def is_to_s(value)
+ should_to_s(value)
+ end
+
def should_to_s(value)
value = [value] unless value.is_a?(Array)
value.join(',')
@should = super(values).sort
end
+ def is_to_s(value)
+ should_to_s(value)
+ end
+
def should_to_s(value)
value = [value] unless value.is_a?(Array)
value.join(',')