Re: [Puppet Users] augeas umask and /etc/sysconfig/init

2013-10-29 Thread Sven vd
I have the same problem. The goal is to append umask 027 without the = to the end of the /etc/sysconfig/init file according to NIST rules. However the augeas lens is not made to handle this, only shell vars syntax is allowed. If you want to workaround this via a erb template and you have other

Re: [Puppet Users] augeas umask and /etc/sysconfig/init

2013-10-29 Thread Dominic Cleal
On 29/10/13 12:07, Sven vd wrote: I have the same problem. The goal is to append umask 027 without the = to the end of the /etc/sysconfig/init file according to NIST rules. However the augeas lens is not made to handle this, only shell vars syntax is allowed. If you want to workaround this

Re: [Puppet Users] augeas umask and /etc/sysconfig/init

2013-06-25 Thread Dominic Cleal
On 24/06/13 12:22, David Sandilands wrote: We are working on a replacing our current build set by ksh scripts with puppet manifests and I'm having some difficulty setting umask in /etc/sysconfig/init for RHEL 6 Ideally I would like to just do augeas { 'augsysconfiginitumask':

[Puppet Users] augeas umask and /etc/sysconfig/init

2013-06-24 Thread David Sandilands
We are working on a replacing our current build set by ksh scripts with puppet manifests and I'm having some difficulty setting umask in /etc/sysconfig/init for RHEL 6 Ideally I would like to just do augeas { 'augsysconfiginitumask': context = '/files/etc/sysconfig/init',

[Puppet Users] augeas umask and /etc/sysconfig/init

2013-06-24 Thread David Sandilands
Hello, I'm trying to add a line for umask setting to /etc/sysconfig/init with something like augeas { 'augsysconfiginitumask': context = '/files/etc/sysconfig/init', changes = 'set umask 027'; } but this just produces umask=027 in the file we could use a