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',
               changes => "set umask 027";
                }

but that just sets a line to umask=027, we use augeas to update this file 
from other places so ideally wouldn't like to use templates.

Any ideas or thoughts?

ruby-augeas-0.4.1-1.el6.x86_64
augeas-libs-0.9.0-4.el6.x86_64
puppet-3.1.1-1.el6.noarch
puppet-server-3.1.1-1.el6.noarch

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to