puppet-catalog-diff
puppet-catalog-diff copied to clipboard
List parameters to classes is sort sensitive
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.