I'm having an issue with puppet repeatedly attempting to mount resources which are configured as bind mounts on one of my nodes. Here is a copy of the relevant lines from my manifest.
$koji_fedora_releases = ['28', '29', '30'] $koji_fedora_releases.each |$release| { ['released', 'testing'].each |$tag| { mount { "/pub/fedora/org/${tag}/${release}": ensure => mounted, device => "/storage/projects/koji/repos-dist/aos-${release}-${tag}/latest", fstype => 'none', options => 'rw,bind', } } } The agent is able to successfully apply these resources however it attempts to remount the directories every time that puppet runs. For example, here is the output on the agent side. Notice: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/candidates/30]/ensure: current_value unmounted, should be mounted (noop) Info: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/candidates/30]: Scheduling refresh of Mount[/pub/fedora/site/candidates/30] Notice: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/candidates/30]: Would have triggered 'refresh' from 1 events Info: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/candidates/30]: Scheduling refresh of Mount[/pub/fedora/site/candidates/30] Notice: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/released/30]/ensure: current_value unmounted, should be mounted (noop) Info: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/released/30]: Scheduling refresh of Mount[/pub/fedora/site/released/30] Notice: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/released/30]: Would have triggered 'refresh' from 1 events Info: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/released/30]: Scheduling refresh of Mount[/pub/fedora/site/released/30] Notice: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/testing/30]/ensure: current_value unmounted, should be mounted (noop) Info: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/testing/30]: Scheduling refresh of Mount[/pub/fedora/site/testing/30] Notice: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/testing/30]: Would have triggered 'refresh' from 1 events Info: /Stage[main]/Site::Fileserver01/Mount[/pub/fedora/site/testing/30]: Scheduling refresh of Mount[/pub/fedora/site/testing/30] These lines are repeated for each bind mount resource. How does puppet actually verify that a device is mounted? The source directories *are* mounted and I'm able to access data in each directory without an issue. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/198a335b-9582-4053-ae52-50cc15bf02b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.