Cfengine Help: Re: command execution example

2011-01-18 Thread no-reply
Forum: Cfengine Help Subject: Re: command execution example Author: ro Link to topic: https://cfengine.com/forum/read.php?3,20157,20171#msg-20171 Hi Daniel, this is the snippet that I'm using on Ubuntu 10.04: bundle agent AptUpdate { commands: UPDATE:: "/usr/b

Re: command execution example

2011-01-17 Thread Daniel Bidwell
On Mon, 2011-01-17 at 20:41 -0500, Daniel Bidwell wrote: > I am trying to configure cf3 to do an 'apt-get -y upgrade' on some > ubuntu servers. I have a packages.cf which contains snippets like: > > bundle agent packages > { > vars: > > ... > > commands: > ubuntu_servers:: > > "apt

command execution example

2011-01-17 Thread Daniel Bidwell
I am trying to configure cf3 to do an 'apt-get -y upgrade' on some ubuntu servers. I have a packages.cf which contains snippets like: bundle agent packages { vars: ... commands: ubuntu_servers:: "apt-get -y upgrade"; packages: any:: ... } In cf2 I used a "shellcommand