Hello,

I am trying to check for each enabled repo in /etc/yum.repos.d/ that
the gpgcheck  is set to 1.  I wanted to do this with Augeas, but I
cant seem to get it to work.  I tried something like the following but
it does not work.

       augeas{ "/etc/yum.repos.d-gpgcheck" :
                context => "match /files/etc/yum.repos.d//*[enabled
='1']",
                changes => "set gpgcheck 1",
        }


Anyone have any ideas on how to accomplish this?

Thank you
John Searles

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to