Permalink
Browse files

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

  • Loading branch information...
1 parent 5e8cae8 commit 222d60c3e10b31f379b805a70a5043c52ea06344 @loe committed Mar 6, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 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

0 comments on commit 222d60c

Please sign in to comment.