Cfengine Help: Re: iteration problem with execresult string assignment

2010-03-30 Thread forum
Forum: Cfengine Help Subject: Re: iteration problem with execresult string assignment Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16717,16721#msg-16721 Perhaps you need to set the policy of the status string to allow it to be redefined for each list item

Cfengine Help: Re: iteration problem with execresult string assignment

2010-03-30 Thread forum
Forum: Cfengine Help Subject: Re: iteration problem with execresult string assignment Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,16717,16720#msg-16720 Neil, The bundle is intended to be used as methods: "any" usebundle => system_startup(&qu

Cfengine Help: Re: iteration problem with execresult string assignment

2010-03-30 Thread forum
Forum: Cfengine Help Subject: Re: iteration problem with execresult string assignment Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16717,16718#msg-16718 What problems do you mean? Please give us you expected and actual results

Re: iteration problem with execresult string assignment

2010-03-30 Thread Steve Barnes
Not sure what you mean by "iteration problems", but here's something similar that I use to ensure only a specific list of services are enabled for runlevel 3 in CentOS. HTH Steve -- bundle agent chkconfig { vars: # This is all that should be enabled at

iteration problem with execresult string assignment

2010-03-30 Thread Сева Глущенко
Hello guys, The following bundle cause iteration problems. Could anybody advise how to rewrite it to omit them? bundle agent system_startup(service) { vars: centos:: "status"string => execresult("/sbin/chkconfig --list