Re: ensuring an NFS dir mounted via puppet configs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 17, 2008 at 11:52:28AM -0400, Todd Zullinger wrote:
> Matt Domsch wrote:
> > app4 needs to have /pub be NFS-mounted, for the mirrormanager crawler
> > to work correctly.  I fixed this now and restarted the crawler.
> > 
> > How can we configure puppet to make sure the right entry in /etc/fstab
> > is present, and that /pub is mounted?
> 
> Something like this should work:
> 
>     mount { "/pub":
>         device  => "nfshost:/path/to/pub",
>         fstype  => "nfs",
>         ensure  => "mounted",
>         options => "defaults",
>         atboot  => true,
>     }
> 
> That will add the entry to /etc/fstab is it's missing and mount the
> filesystem if it's not mounted.
> 
> See http://reductivelabs.com/trac/puppet/wiki/TypeReference#mount for
> docs.

Thanks, I added this, hopefully it'll work. :-)


-- 
Matt Domsch
Linux Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux