Hi,
I am trying to define a new type that will insert a new filesystem line
into /etc/fstab.
However, no matter what I tried, it will insert a new line each time.
Something like this doesn't work
augeas { $title:
context => '/files/etc/fstab',
changes => [
Many thanks to all for your replies.
Yeah, I finally got it.
Something like:
onlyif => "match */spec[ . = '$fs_spec' ] size == 0"
for fstab entries
and
onlyif => "match */spec[ . = '$fs_spec' ]/../opt[ . = '$fs_opt'] size == 0"
for handling options
Cheers.
--
You received this message becaus
On Wednesday, July 31, 2013 11:58:47 PM UTC+10, jcbollinger wrote:
> This is a large part of what the built-in Mount type is for. Do you need
> something it does not provide?
>
>
AFAIK Mount does not provide support for encrypted filesystems
(/etc/crypttab)
There are some good basic reasons