[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to copy, alert and shellcommand
From: |
Yves |
Subject: |
RE: How to copy, alert and shellcommand |
Date: |
Fri, 27 Aug 2004 17:28:56 +0200 |
There is an excellent docu ! Please use it first.
http://www.cfengine.org/docs/cfengine-Reference.html#addinstallable
Gruß Yves
Y99@gmx.de am 27.08.2004
On Fri, 27 Aug 2004 02:49:15 -0500, Anton Krall wrote:
> Is AddInstallables a variable or an action? Ive never seen it before
>
> ------------------------------------
> Intruder Consulting
> Anton Krall
> Director General
> akrall@intruder.com.mx
> tel: 5781-5112
> mobile: 1325-3511
> IM: akrall@intruder.com.mx
> www.intruder.com.mx
> ------------------------------------
>
>
> %-----Original Message-----
> %From: Mark.Burgess@iu.hio.no [mailto:Mark.Burgess@iu.hio.no]
> %Sent: Viernes, 27 de Agosto de 2004 02:22 a.m.
> %To: akrall-lists@intruder.com.mx
> %Cc: help-cfengine@gnu.org
> %Subject: Re: How to copy, alert and shellcommand
> %
> %
> %
> %On 27 Aug, Anton Krall wrote:
> %> Guys, I want to copy a file, then run an alert that would send an
> %> email saying when it got copyied and then run a shell
> %command, what do
> %> I need to structure this?
> %>
> %> Thx for any advice:
> %>
> %> Anton Krall
> %
> %
> %control:
> %
> % actionsequence = ( copy shellcommands )
> %
> % AddInstallables = ( blah )
> %
> %copy:
> %
> % from dest=to define=blah
> %
> %shellcommands:
> %
> % blah::
> %
> % "/bin/runme balbla"
> %
> %alerts:
> %
> % blah::
> %
> % "I was copied"
> %
> %
> %
> %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~
> %Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
> %Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
> %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~
> %
> %
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
Gruß Yves
Y99@gmx.de am 27.08.2004