Hmm. I don't believe mount will do what I want, as every server has different NFS mounts I need to modify. Can I say "modify every NFS mount so that it's nosuid" without actually specifying the mountpoints?
No, you cannot do that via Mount resources. Instead, the idiomatic approach here would be to put each mount for each server under individual Puppet management. If you wished, you could also use the Resources resource to purge Mounts that Puppet is not otherwise managing, so that you could be sure that there were no fstab entries without 'nosuid'. (Note, however, that a privileged user can mount filesystems that are not listed in fstab, with whatever options they choose.)
> it to apply to more than one mount line per run.
It might work but it is probably better to manage the whole mount with puppet.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJ8DPF77ixMAm8BFe%2BLHcgcraj6iRYWJzgNE8sO1s5TZY7UvDQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.