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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • PUP 5.0.0
    • PUP 5.0.0
    • Language
    • None
    • Puppet's master git branch (commit 8f0adfc)

    • Puppet Developer Experience
    • 1
    • PDE 2017-05-31
    • Not Needed
    • Problem introduced in unreleased code.
    • No Action
    • 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

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support