Issue #14199 has been reported by Rafał Kupka.
----------------------------------------
Bug #14199: Mount resource don't recognize already mounted resources if there
is a symlink in mountpoint path
https://projects.puppetlabs.com/issues/14199
Author: Rafał Kupka
Status: Unreviewed
Priority: Normal
Assignee:
Category: mount
Target version: 2.7.15
Affected Puppet version:
Keywords: mount symlink
Branch:
Mount command (and /proc/mounts file) only shows mountpoint path with symlinks
resolved.
Puppet don't recognize this resources as already mounted.
More information:
#grep /sl /etc/fstab
/dev/sda9 /srv/sl xfs rw 0 0
# ls -l /srv/sl
lrwxrwxrwx 1 root root 5 Apr 26 14:07 /srv/sl -> video
# mount | grep video
/dev/sda9 on /srv/video type xfs (...)
# puppet apply --noop -e 'mount { "/srv/sl": ensure => mounted; }'
notice: /Stage[main]//Mount[/srv/sl]/ensure: current_value unmounted,
should be mounted (noop)
notice: /Stage[main]//Mount[/srv/sl]: Would have triggered 'refresh' from 1
events
Puppet version with attached patch applied works fine. [Github
patch](https://github.com/kupson/puppet/commit/487d782b7426ebc66d9e6aa44608de12eada0a49)
--
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.