On Friday, January 31, 2014 12:44:07 PM UTC-6, Juan Pablo Daniel Borgna wrote: > > Hi guys, can you give me a hint on this? > > Thanks! > > Debug: Executing '/sbin/sysctl -n net.ipv4.ip_local_port_range' > Error: undefined method `gsub' for nil:NilClass > Error: > /Stage[main]/Spotflux_pweb::Sysctl/Sysctl[net.ipv4.ip_local_port_range]/value: > > change from to 5000 65000 failed: undefined method `gsub' for nil:NilClass > # /sbin/sysctl -n net.ipv4.ip_local_port_range > 1024 65535 > > Debug: Executing '/sbin/sysctl -n net.core.rmem_max' > Error: undefined method `gsub' for nil:NilClass > Error: /Stage[main]/Spotflux_pweb::Sysctl/Sysctl[net.core.rmem_max]/value: > change from to 8388608 failed: undefined method `gsub' for nil:NilClass > # /sbin/sysctl -n net.core.rmem_max > 16777216 > >
It looks like a bug in the chosen provider for your Sysctl custom type, perhaps related to the manner in which your Spotflux_pweb::Sysctl defined type uses it. The error message does suggest that the sysctl is not initially set/customized, but it would be a poor implementation of a Sysctl type that could not handle that situation. Having no idea where your Sysctl type comes from (there are many available, or you could have written your own), and no information on Spotflux_pweb::Sysctl, there's really not much more I can say. John -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/39cd872a-1d41-4b09-a186-bfa1bdb4af2d%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.