Issue #22457 has been reported by Fazle Arefin. ---------------------------------------- Bug #22457: puppet parser validate does not check for non existent files https://projects.puppetlabs.com/issues/22457
* Author: Fazle Arefin * Status: Unreviewed * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- Invoking puppet parser validate /path/to/nonexistent_file exits with exit status ($?) of 0 instead of a non-zero status. root@puppet:~# test -f /etc/puppet/environments/lt/modules/ssh/manifests/init.pp && echo File exists File exists root@puppet:~# puppet parser validate /etc/puppet/environments/lt/modules/ssh/manifests/init.pp root@puppet:~# echo $? 0 root@puppet:~# root@puppet:~# test -f /etc/puppet/environments/lt/modules/ssh/manifests/noinit.pp && echo File exists root@puppet:~# puppet parser validate /etc/puppet/environments/lt/modules/ssh/manifests/noinit.pp root@puppet:~# echo $? 0 root@puppet:~# -- 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.
