[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
module vars and control vars different?
From: |
Chris (Ducky) Chapin |
Subject: |
module vars and control vars different? |
Date: |
Tue, 23 Jul 2002 11:33:29 -0700 (PDT) |
If I have a cfagent.conf that looks like this:
=== cfagent.conf
control:
actionsequence = ( module:foo shellcommands )
moduledirectory = ( <whereeverthatdamnedthingis> )
bar = ( "one:two:three" )
shellcommands:
any::
"/usr/bin/echo $(foo)"
"/usr/bin/echo $(bar)"
=== module:foo
#!/bin/sh
echo "=foo=once:twice:thrice"
===
I get the following output:
cfengine:devhost: once:twice:thrice
cfengine:devhost: one
cfengine:devhost: two
cfengine:devhost: three
Am I missing something or does split mpt work on variables defined in
modules?
-Ducky
--
Christopher 'Ducky' Chapin ducky@qualcomm.com
Unix Systems Administrator - Qualcomm, Inc. (858) 651-5433
IT Host Services - AE-209F
- module vars and control vars different?,
Chris (Ducky) Chapin <=