help-cfengine
[Top][All Lists]
Advanced

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

Re: Need 'UncommentAndSetValue' or some such


From: Alexander Jolk
Subject: Re: Need 'UncommentAndSetValue' or some such
Date: Fri, 28 Oct 2005 12:56:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050831 Debian/1.7.8-1sarge2

Brendan Strejcek wrote:
Well, I just whipped up a quick perl analysis (see below for the
possibly buggy code) of my cfengine policy files, based on line counts,
and this is what I get:

    editfiles       1133
    shellcommands    614
    control          436
    classes          417
    copy             335
    comment          333
    files            301
    import           285
    links            258
    disable          161
    alerts            93
    processes         91
    strategies        21
    tidy              17
    disks             15
    groups            14
    grant              6
    ignore             3

Nice script.  Here's what I get:

editfiles       1213
control          958
copy             635
comment          274
shellcommands    190
disable          146
processes        132
groups           101
links             76
classes           60
ignore            42
files             42
import            37
tidy              26
strategies        11
alerts             5
                  50


Alex


--
Alexander Jolk  * BUF Compagnie * alexj@buf.com
Tel +33-1 42 68 18 28  *  Fax +33-1 42 68 18 29




reply via email to

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