I'm using puppet to manage /etc/sysctl.conf on my RHEL 6 boxes.

I'm doing something very similar to 
http://projects.puppetlabs.com/projects/1/wiki/puppet_augeas#/etc/sysctl.conf

The problem is sysctl -p on RHEL 6 gives:

error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key

This is apparently not a bug according to RH since these values have to be 
there in case you load the bridge module.  

Now I could modify the exec that runs sysctl after updating the .conf file by 
adding -e however I'd still like to know if I have unknown keys.

I'm thinking I'd like to run the normal sysctl -p and if that has an error for 
puppet to give a notice not an error and then run sysctl -e -p.  If that gives 
an error then puppet should give an error message.   Is there any way to set 
something like this up?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/5LF2HMwziNAJ.
To post to this group, send email to puppet-users@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