Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Sort the tags before comparison or else we end up with Notices.

  • Loading branch information...
commit 222d60c3e10b31f379b805a70a5043c52ea06344 1 parent 5e8cae8
@loe authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/puppet/type/boundary_meter.rb
View
4 lib/puppet/type/boundary_meter.rb
@@ -18,5 +18,9 @@
newproperty(:tags, :array_matching => :all) do
desc "Tags to be added to the Boundary meter. Specify a tag or an array of tags."
+
+ def insync?(is)
+ is.sort == @should.sort
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.