Skip to content

List parameters to classes is sort sensitive #16

Description

@dalen

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions