Roy Marantz wrote:

> I find that I can
>       cat cf.common cf.stuff | cfagent -f -
> but that seems wrong too.

Why? How about something like this:

    #!/bin/sh

    cat <<EOF | cfagent -qvf -
    import:
        cf.common
        cf.$1
    EOF

(Untested.) Add a usage message and I bet it would work well.

Another option would be to add lots of classes that you could turn on
and off with command line options to cfagent (-D, -N) but that seems
more complicated and intrusive to me.

Best,
Brendan

--
Senior System Administrator
The University of Chicago
Department of Computer Science

http://www.cs.uchicago.edu/people/brendan
http://praksys.blogspot.com/
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to