OK. Thanks.
On 03/30/2011 09:43 PM, Mark Burgess wrote: > Sandra, I can't see an error here, just an informational message to say > that you have 3 variables in your bundle defined implicitly by calling > the edit bundle. > > On 03/30/2011 11:51 PM, Sandra Wittenbrock wrote: >> I'm getting the following error and am stumped. >> >> BUNDLE ChangeSysctlSettings( {'net_core_rmem_max','3','33554432'} ) >> cf3 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >> cf3 >> cf3 ? Augment scope ChangeSysctlSettings with setting >> cf3 ? Augment scope ChangeSysctlSettings with field >> cf3 ? Augment scope ChangeSysctlSettings with value >> cf3 ?? Private class context >> >> >> Below is the content of sdm.cf: >> >> bundle agent sdm >> { >> files: >> >> sdm_hosts:: >> dmx17:: >> "/etc/sysctl.conf" >> #edit_line => ChangeSysctlSettings(setting,field,value); >> classes => if_repaired("sysctl_reconfigured"), >> handle => "sysctl_replace_settings", >> edit_line => >> ChangeSysctlSettings("net.core.rmem_max","3","33554432"); >> >> commands: >> restart_sysctl:: >> "/sbin/sysctl -p"; >> >> >> >> >> processes: >> >> "sbin/sysctl" >> restart_class => "restart_sysctl"; >> >> >> } >> >> bundle edit_line ChangeSysctlSettings(setting,field,value) >> { >> field_edits: >> >> "$(setting).*" >> #Change the settings to parameter >> edit_field => col(" ","$(field)","$(value)","set"); >> >> } >> >> body edit_field col(split,col,newval,method) >> { >> field_separator => "$(split)"; >> select_field => "$(col)"; >> value_separator => ","; >> field_value => "$(newval)"; >> field_operation => "$(method)"; >> } >> >> >> >> >> _______________________________________________ >> Help-cfengine mailing list >> Help-cfengine@cfengine.org >> https://cfengine.org/mailman/listinfo/help-cfengine > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine