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

"Classes are not virtualizable" warning with resource-type non-virtual class declaration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: PUP 5.0.0
    • Fix Version/s: PUP 5.0.0
    • Component/s: Language
    • Labels:
      None
    • Environment:

      Puppet's master git branch (commit 8f0adfc)

    • Template:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-05-31
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      Problem introduced in unreleased code.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      Covered by spec test

      Description

      On master, a basic manifest triggers a warning for virtualizable classes, which I think is incorrect:

      test.pp:

      class a { }
      class { 'a': }
      

      $ be puppet parser validate test.pp
      Warning: Classes are not virtualizable at test.pp:2:1
      

      Prior to PUP-1606 being merged into master, this didn't occur. This warning does not appear to occur on the stable branch with PUP-1606, only on master with PUP-1606, so may only affect Puppet 5.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  domcleal Dominic Cleal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: