RHEL 6.5
Puppet 3.7.1
puppetlabs-stdlib-4.3.2

Local hardening guidelines say that /usr/local and /var/log/audit have to be 
separate partitions.
OK, so I make "mount" resources.

Now the problem:  The order of the mount points in /etc/fstab makes a 
difference.
I had /usr/local before /usr, and at boot, the mount of /usr/local failed 
because the mount point did not (yet) exist.

So I need to ensure the line for /usr/local comes AFTER the line for /usr.

HOW TO DO IT ?

I tried stdlib / file_line with the "after" parameter, bit it does not work ! 
(I thought I opened an Issue, but I cannot find it)
My next thought was "augeas mv <PATH> <OTHER PATH>" but I cannot get it to work 
(yet).

Looking for clues / suggestions about how to order the mount points in 
/etc/fstab

“Sometimes I think the surest sign that intelligent life exists elsewhere in the 
universe is that none of it has tried to contact us.”  (Bill Waterson: Calvin & 
Hobbes)

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/71201fdb-9348-44ca-85df-bb9359e1ab49%40me.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to