Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread Dominic Cleal
On 10/02/12 20:10, Joe wrote: > I'm trying to add a mount option using puppet/augeas. Something like: > > class acl { > augeas { "var_fs_acl": > context => "/files/etc/fstab", > changes => ["ins opt after *[file='/var']/ > opt[last()]", >

Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread David Rolston
On Fri, Feb 10, 2012 at 12:15 PM, Christopher Wood < christopher_w...@pobox.com> wrote: > Try the mount type? > > http://docs.puppetlabs.com/references/stable/type.html#mount > > (Any particular reason for using augeas?) > > On Fri, Feb 10, 2012 at 12:10:56PM -0800, Joe wrote: > > I'm trying to ad

Re: [Puppet Users] Augeas fstab question

2012-02-10 Thread Christopher Wood
Try the mount type? http://docs.puppetlabs.com/references/stable/type.html#mount (Any particular reason for using augeas?) On Fri, Feb 10, 2012 at 12:10:56PM -0800, Joe wrote: > I'm trying to add a mount option using puppet/augeas. Something like: > > class acl { > augeas { "var_fs_acl"

[Puppet Users] Augeas fstab question

2012-02-10 Thread Joe
I'm trying to add a mount option using puppet/augeas. Something like: class acl { augeas { "var_fs_acl": context => "/files/etc/fstab", changes => ["ins opt after *[file='/var']/ opt[last()]", "set *[file='/var']/opt[last()] acl"]