Issue #14728 has been updated by Ken Barber.

Target version changed from 3.0.0 to 2.7.x
Affected Puppet version set to 2.7.17

Its a bug, so I think this should be a 2.7.x target Patrick, let me know if you 
think I'm wrong.
----------------------------------------
Bug #14728: puppet module changes incorrectly errors when a file is missing
https://projects.puppetlabs.com/issues/14728#change-66549

Author: Garrett Honeycutt
Status: Accepted
Priority: Normal
Assignee: 
Category: module tool
Target version: 2.7.x
Affected Puppet version: 2.7.17
Keywords: 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to