Issue #6793 has been reported by John Spray.

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

Author: John Spray
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.6
Keywords: 
Branch: 


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