Sean, it is easy. You add the mountall, mountinfo to the action sequence in cf2.
In cf3 you don't have to do anything special if you verify a mountpoint.

At any rate you hardly need to write a script.

Sean Carolan wrote:
>> Is it possible to simply make sure that what is in /etc/fstab stays
>> mounted properly?  I don't want to use addmounts to manage /etc/fstab.
>>  We prefer to keep this file updated by hand.
> 
> Maybe this is not possible to do with CFengine v2?  Can it be done in
> cfengine v3?  If making sure directories stay mounted properly is not
> possible I will write my own script to do it, or look into alternative
> configuration management systems.
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to