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 via a erb template and you have other
> augeas resources defined, they will fail as augeas will fail to parse
> the new /etc/sysconfig/init set by the template.
> 
> How to best resolve this?

Please file a bug against Augeas' shellvars lens in order to support
parsing it: https://fedorahosted.org/augeas/newticket

In the meantime, perhaps use file_line or similar tools.

-- 
Dominic Cleal
Red Hat Engineering

-- 
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/526FAF55.9030207%40redhat.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to