Issue #6793 has been updated by Nigel Kersten. Status changed from Needs Decision to Accepted Assignee deleted (Nigel Kersten) Target version set to 2.7.x
We're going to prohibit trailing slashes in the type, because of the uncertain semantics on exotic platforms when it is supplied. This will mean that existing resources with a trailing slash will no longer parse, but they were causing the above issue for users anyway. This must be called out loudly in the release notes. ---------------------------------------- Bug #6793: mount provider fails when paths have a trailing slash https://projects.puppetlabs.com/issues/6793 Author: John Spray Status: Accepted Priority: Normal Assignee: Category: mount Target version: 2.7.x 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.
