help-cfengine
[Top][All Lists]
Advanced

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

Re: [Cfengine] /etc/fstab?


From: Systems Administrator
Subject: Re: [Cfengine] /etc/fstab?
Date: Tue, 20 Jan 2004 11:58:11 +1100 (EST)

On Mon, 19 Jan 2004, Bas van der Vlies wrote:

> Systems Administrator wrote:
>
> >     Hi all.  I'm hoping to get cfengine to ensure that some
> > filesystems have the options nosuid,nodev turned on.  I had a look at
> > editfiles, but couldn't find anything like "if field w matches x, append z
> > to field y".  Do I need to use perl for this instead?
> >
> >     Thanks,
> >
> I manage /etc/fstab with cfengine statements:
> ------------------------
> mountables:
>          !Rainbow::
>                  ${NFS_SERVER}:/home/${COLOR}
>                  mountoptions=bg,hard
>
>                  ${NFS_SERVER}:/usr/local
>                  mountoptions=bg,soft
>                  readonly=true
>
>
> You can specify all mount options in the mountoptions keyword!. If there
> is a changes then the /usr/local line will be replaced with the new
> mountoptions.

        If I understand, though, this requires that you use NFS, right?

        Thanks,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]