puppet-catalog-diff icon indicating copy to clipboard operation
puppet-catalog-diff copied to clipboard

List parameters to classes is sort sensitive

Open dalen opened this issue 9 years ago • 0 comments

The tool counts a difference in list sorting on a class parameter as a catalog difference even if there's no actual difference in the resources it produces.

For example:

class foo ($list) {
  notify { inline_template('<%= @list.sort %>'): }
}

including this class with the list parameter being [1,2] or [2,1] makes no difference to any resource, but the tool still alerts that the class itself differs.

dalen avatar Aug 19 '15 09:08 dalen