Issue #14728 has been updated by Josh Cooper. Project changed from Puppet Forge to Puppet Category deleted (pmt) Target version changed from Sprint to 3.2.0 Affected Puppet version set to 2.7.17 Keywords changed from changes, pmt to changes, pmt, sprint
---------------------------------------- Bug #14728: puppet module changes incorrectly errors when a file is missing https://projects.puppetlabs.com/issues/14728#change-88882 * Author: Garrett Honeycutt * Status: Closed * Priority: Normal * Assignee: Michal Ruzicka * Category: * Target version: 3.2.0 * Affected Puppet version: 2.7.17 * Keywords: changes, pmt, sprint * Branch: ---------------------------------------- Upon removing a file, CHANGELOG, the following is produced. <pre> Error: No such file or directory - xinetd/CHANGELOG Error: Try 'puppet help module changes' for usage </pre> Instead, this should not error and should output that `xinetd/CHANGELOG` is missing. To reproduce: <pre> [root@puppet modules]# puppet module install ghoneycutt-xinetd Preparing to install into /etc/puppetlabs/puppet/modules ... Downloading from http://forge.puppetlabs.com ... Installing -- do not interrupt ... /etc/puppetlabs/puppet/modules └── ghoneycutt-xinetd (v1.0.1) [root@puppet modules]# rm -f xinetd/CHANGELOG [root@puppet modules]# puppet module changes xinetd Error: No such file or directory - xinetd/CHANGELOG Error: Try 'puppet help module changes' for usage [root@puppet modules]# echo $? 1 </pre> -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
