If exported resources are present, puppet parser validate will print a warning message (in red).
Validation should only check the syntax of the file and therefore should return no warning messages of this nature.
Users receive a warning message:
Unnecessarily confuses and distresses users (puppet parser validate) is typically used in pre-commit git hooks so this is something users could encounter frequently and when dealing with code that they have not personally authored.
Validate syntax only and do not print a warning message