[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Order of Operations and Defining 2nd Run
From: |
christian pearce |
Subject: |
Re: Order of Operations and Defining 2nd Run |
Date: |
Thu, 23 Feb 2006 10:14:24 -0500 |
Cfengine usually figures it out automatically. I have only run into a
case with a second pass on copy that it doesn't work. The second pass
feature is quite nice, once you understand how it is suppose to work.
On 2/14/06, Ed Brown <ebrown@lanl.gov> wrote:
> On Tue, 2006-02-14 at 15:15 -0500, Brian E. Seppanen wrote:
>
> > servicesremove.shellcommands:
> > debian::
> > "/usr/bin/env PATH=/sbin:/usr/sbin:/bin/:/usr/bin:/usr/local/bin
> > /usr/sbin/update-rc.d -f nfs-common remove"
>
>
> I think this should be:
>
> shellcommands:
> debian.servicesremove::
> "...."
>
> That should take care of the problem of the shellcommand running every
> time, but not sure about the actionsequence problem. You might be able
> to use 'AddInstallable' with servicesremove.
>
> -Ed
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
--
Christian Pearce