On Monday, September 23, 2013 2:58:30 PM UTC-5, Forrie wrote: > > If Puppet were to manage /home/something, an NFS mount, and ensure it's > mounted... it would automatically look to see if both /home and / were also > mounted? >
No. Puppet manages only the resources you tell it to manage. Indeed, for the most part it manages only the properties you specify of the resources you tell it to manage. What makes you think differently? > > > In most cases, on our older systems, /home is actually just on / -- a full > partition that sits on a raid5 layer. So, at best, Puppet would just get > a standard error that / and /home are already present and mounted. > > What I'm concerned about is: > > - Ensuring the directories are present, with correct permissions and > ownership > > That's Puppet's bread & butter. > - Ensuring that the NFS mount is active and available (possibly send out > an error vis syslog if not) > > I'm not sure what you mean. You want a remote NFS filesystem recorded in /etc/fstab? No sweat. You also want it mounted? No problem. You want to manage properties of the mount point directory other than its presence, and also ensure the remote filesystem is mounted? You can't even do that manually unless you are willing to have a service interruption on the remote filesystem. If that's OK, though, then you can do it with Puppet. > - NOT causing some bizarre cascade of mount issues by Puppet repeatedly > attempting to fix something it cannot, in the case of an error that > requires manual intervention. > > Are you talking about Puppet's reports and / or log output, or what? Puppet only manages what you tell it to manage. It will not cause or report on a "bizarre cascade of mount issues", but it will certainly tell you about each failure or inability to put an aspect of the target node into the state that you specified it should be in. > Our environment is growing substantially, to the point where manually > editing fstab is becoming a real PITA, and also creates an environment for > inconsistencies (and minor typos). So I really need Puppet to manage > those mounts. > > It can. > I'm not sure I would need automounter for these. > > You never *need* the automounter, and if you are declaring all needed filesystems in /etc/fstab then you don't want to automount them, too. But automounting could provide a useful alternative to your growing problem with managing fstab. It also provides for automatic *un*mounting of inactive filesystems, which can be a big advantage in some situations. John -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.