scripts, cfengine vs. bash

Thomas Lange lange at informatik.Uni-Koeln.DE
Sat May 4 00:17:36 CEST 2002


>>>>> On 03 May 2002 09:41:07 -0700, Bruce Edge <bedge at troikanetworks.com> said:

    > Is there an accepted mechanism by which one can have both a bash
    > script and a cfengine script for the same class.  Say have
    > ./scripts/CLASSXX.sh and ./scripts/CLASSXX ?

Yes. If scripts/CLASSXX is a directory, all scripts
(bash,cfengine,perl,...) in this directory matching S[0-9]* are
executed in numeric order. See templates/scripts/NETWORK/ for an
example.

-- 
Gruss Thomas



More information about the linux-fai mailing list