Re: CFEngine Help: Call bash commands in cfengine

2011-09-07 Thread Aleksey Tsalolikhin
You can set global environmental variables using the "environment" attribute of the agent control body part. For example, run this: {{{ body common control { bundlesequence => { "one" }; } body agent control { environment => { "A=123", "B=456", "PG

Re: CFEngine Help: Call bash commands in cfengine

2011-09-06 Thread Nick Anderson
On 09/06/2011 05:14 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Call bash commands in cfengine > Author: jimmiez > Link to topic: https://cfengine.com/forum/read.php?3,23374,23374#msg-23374 > > Hi cfegineers, > > I added some global env variables in /etc/profile and tried t

CFEngine Help: Call bash commands in cfengine

2011-09-06 Thread no-reply
Forum: CFEngine Help Subject: Call bash commands in cfengine Author: jimmiez Link to topic: https://cfengine.com/forum/read.php?3,23374,23374#msg-23374 Hi cfegineers, I added some global env variables in /etc/profile and tried to call "source /etc/profile" to apply the change immediately. But it