RE: Redefinition of a constant variable

2010-03-12 Thread Justin Lloyd
-cfengine@cfengine.org Subject: Re: Redefinition of a constant variable Overridable helps provided that this is set for all instances of the variable. Example: 5 bundle agent report_services{ 6 7 vars: 8 9 redhat:: 10 # List this variable first as the

RE: Redefinition of a constant variable

2010-03-12 Thread Justin Lloyd
Use "overridable" on the default "services" variable. For example: vars: any:: "services" slist => { ... }, policy => "overridable"; redhat:: "services" slist => { "telnet", ... }; etc. Does that help? Justin -Original Message- From: help-cfengine-

Re: Redefinition of a constant variable

2010-03-12 Thread NWatson
Overridable helps provided that this is set for all instances of the variable. Example: 5 bundle agent report_services{ 6 7 vars: 8 9 redhat:: 10 # List this variable first as the default. 11 "services" slist => { 12

Re: Redefinition of a constant variable

2010-03-12 Thread Matt Richards
Does using policy=>"overridable" help? I had a similar issue with duplicate value with upgrading to cf4: > Vars: > 8 > 9 redhat:: >10 # List this variable first as the default. >11 "services" slist => { >12 "anacron", >13