Issue #6793 has been updated by Adrien Thebo.

Status changed from Accepted to Merged - Pending Release
Target version set to 3.3.0
Branch set to https://github.com/puppetlabs/puppet/pull/1699

Issue fixed in PR/1699 and merged into master in 67e1ff6. This should be 
released in 3.3.0.

----------------------------------------
Bug #6793: mount provider fails when paths have a trailing slash
https://projects.puppetlabs.com/issues/6793#change-92927

* Author: John Spray
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: 
* Category: mount
* Target version: 3.3.0
* Affected Puppet version: 2.6.6
* Keywords: 
* Branch: https://github.com/puppetlabs/puppet/pull/1699
----------------------------------------
A resource like
"/mnt/foo" works fine, but "/mnt/foo/" only works on the first mount.  On 
subsequent runs, puppet incorrectly determines the state as unmounted, tries to 
mount it, and fails.

This is because of puppet/provider/mount.rb function "mounted?" which searches 
for resource[:name] in the output of mount.  Mount never prints the trailing 
slash, so puppet things the mount isn't there.

It should either reject as invalid resources with a trailing slash, or make 
sure that they are correctly recognised when mounted.


-- 
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.


Reply via email to