Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-06 Thread Steve Barnes
Sean Here's a little something I finally got working at 2am last night. It ensures an slist of specific mount points always have the noatime flag (purely data folders in my case). If changes are made to the /etc/fstab file, a remount of the affected partitions is performed. Hopefully this can pro

Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-06 Thread Les Mikesell
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

Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-06 Thread Mark Burgess
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 >> m

Re: Is it possible to make sure /etc/fstab mount points stay mounted with cfengine?

2010-03-06 Thread Sean Carolan
> 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 director