help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: providing custom actions


From: martin f krafft
Subject: Re: providing custom actions
Date: Sat, 30 Oct 2004 16:39:41 +0200
User-agent: Mutt/1.5.6+20040907i

also sprach martin f krafft <madduck@madduck.net> [2004.10.30.1626 +0200]:
> Instead of reinventing the wheel, I would like to provide a bunch
> of new actions to cfagent, like apt-install, debconf, and
> update-alternatives.

Discussing this on IRC right now, I realise this could all be done
in shellcommands, but it's more elegant to have actions. Plus, the
Debian command suite is really suitable for actions, i.e. it has the
Cfagent Action Character (tm).

E.g:

apt-install:
  POSTFIX::
    postfix
    postfix-tls
      add=suggests,recommends
    postgrey
      suite=unstable

update-alternatives:
  SHELLSERVER::
    /usr/bin/editor -> /usr/bin/emacs

debconf:
  CVSSERVER::
    cvs cvs/pserver true

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus@madduck.net
 
micro$oft windoze is like an air-conditioner:
it breaks down if you open a window.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]