Issue #19520 has been updated by Gerrard Geldenhuis.
I have been frequently asked in Fundamentals classes that I teach why parser does not fail when you supply and invalid file. The expected behaviour would be: ls blah ls: blah: No such file or directory puppet parser validate blah No such file or directory echo $? 1 Currently it will just return nothing which is the same behaviour as a correctly validated file. ---------------------------------------- Bug #19520: puppet parser validate - no output when everything's ok https://projects.puppetlabs.com/issues/19520#change-100801 * Author: Carthik Sharma * Status: Accepted * Priority: Normal * Assignee: * Category: usability * Target version: 3.x * Affected Puppet version: * Keywords: errors * Branch: ---------------------------------------- Running `puppet parser validate init.pp` returns nothing on the command line when there are no errors. Please consider adding a message like "OK" or "No Parse Error" that indicates to the user that the file(s) passed parser validation. This comes up for discussion at almost every fundamentals class I teach, where someone asks "So I see no output, is that what is supposed to happen?" >From a UX perspective, providing feedback on the success of a validation >attempt would be nice (subjectively speaking). -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
