Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Currently (under to control of --strict), it is a warning or an error to attempt to use @class or @@class in a resource expression or a create_resources call.
In Puppet 7.0.0 this should always be an error.
Note the configuration for this is done twice, once for the static validation, and once for the runtime. The checker4_0 has the static validation logic, and the runtime check is in the `create_resources`. See PUP-1606 where the warnings were added.