Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-22

Resource defaults and automatic tags are applied after collectors are evaluated

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Compiler

    Description

      Automatic tags and resource defaults are applied by the compiler during the finish stage which is executed after the evaluate_generators stage where collectors are evaluated. Additionally, the step that adds automatic_tags from parent scopes is not selective at all---it performs a wholesale copy of all tags. Therefore, a notify resource defined inside a class ends up tagged as both a class resource and a notify resource which is probably not the intended behavior as this makes it difficult to use tags to filter by resource type.

      Attachments

        Issue Links

          Activity

            People

              eric.sorenson Eric Sorenson
              chuck Charlie Sharpsteen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support

                  Time Tracking

                    Estimated:
                    Original Estimate - 2 weeks
                    2w
                    Remaining:
                    Remaining Estimate - 2 weeks
                    2w
                    Logged:
                    Time Spent - Not Specified
                    Not Specified