Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Ed Brown
Brian E. Seppanen wrote: I don't follow that because with actionsequence = ( processes.pre shellcommands processes ) is appropriately executing in the order that I want. You're right. If you use '!pre' to qualify processes that you want to run only at the second processes actionsequence item

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Brian E. Seppanen
On Wed, 19 Apr 2006, Ed Brown wrote: Here is an excerpt from an exchange last year about this: --- On Wed, 2005-01-05 at 06:34, Christian Pearce wrote: cfagent.conf control: actionsequence = ( copy shellcommands shellcommands.secondrun ) In my experience, if you

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Brian E. Seppanen
Hi Folks: What I'm trying to do is identify unwanted processes, and define a class that will remove their init scripts from the rcx.d directories so they don't get restarted on boot as well as shutting them down at that time. So the scenario I use for the cf.test included is I start atd. Th

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Atom Powers
On 4/19/06, Ed Brown <[EMAIL PROTECTED]> wrote: > Here is an excerpt from an exchange last year about this: > --- > On Wed, 2005-01-05 at 06:34, Christian Pearce wrote: > > cfagent.conf > > control: > > actionsequence = ( copy shellcommands shellcommands.secondrun )

Re: Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Ed Brown
Here is an excerpt from an exchange last year about this: --- On Wed, 2005-01-05 at 06:34, Christian Pearce wrote: > cfagent.conf > control: > actionsequence = ( copy shellcommands shellcommands.secondrun ) In my experience, if you qualify any action, you had better

Process Defined Classes Not Global? (2.1.20)

2006-04-19 Thread Brian E. Seppanen
I have the following pseudocode actionsequence = ( processes.pre copy directories links files editfiles packages tidy shellcommands processes ) AddInstallables = ( "servicesremove" ) shellcommands: servicesremove:: "/usr/bin/env PATH=/sbin:/usr/sbin:/b

Re: (no subject)

2006-04-19 Thread Atom Powers
On 4/19/06, Håkan Olsson <[EMAIL PROTECTED]> wrote: > Hi, > > It would have been nice if I could have used the 'server=$cfserver' > syntax during the copy, but that appears only to work *from* > $cfserver, and never *to* it. > > Any suggestions? As I said, the above works, but it's kind of kludgy.

(no subject)

2006-04-19 Thread Håkan Olsson
Hi, this may be a simple question, but so far no luck for me. I'm currently using CFengine to collect various system data, such as the SSH host keys for ssh_known_hosts, basically like this: first CFengine run - copy local /etc/ssh/ssh_{rsa,dsa} _host_key.pub to an common (NFS) directory