[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to define variables using a plugin
From: |
Adrian Phillips |
Subject: |
Re: How to define variables using a plugin |
Date: |
31 Jul 2001 12:03:33 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
>>>>> "Adrian" == Adrian Phillips <a.phillips@dnmi.no> writes:
Adrian> Good day,
Adrian> I'm trying to define variables using a shell script as a
Adrian> plugin but the variables are not being used in actions
Adrian> later in the actionsequence. Is this possible ?
Adrian> A simple example :-
Adrian> control:
Adrian> domain = ( oslo.dnmi.no )
Adrian> master_server = ( freeze )
Hmm, interesting, adding :-
kernel_dir = ( "" )
works although gives :-
Macro Collision!
cfengine:pcedb86::19: Warning: Redefinition of macro
kernel_dir=/var/lib/cfengine/linux/kernel/up
.
.
.
Checking copy from freeze: to /usr/src
so it knows about the variable but doesn't want to replace it.
Hmm, I'll have a look at the source.
Sincerely,
Adrian Phillips
--
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now? [OK]