help-cfengine
[Top][All Lists]
Advanced

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

Including a colon, ":", in a variable?


From: Andreas Boschke
Subject: Including a colon, ":", in a variable?
Date: 15 Jul 2002 17:15:25 -0700

Hi:

I would like to create a variable which contains a colon.
However, by default, cfengine treats this as a list. I really don't want
to redefine the list separator with Split = (  ), but even this has
failed.

In particular, I would like to have a variable contain a URL which I
later use to install an RPM.
Something like the following:

control:

URL = (
"ftp://rpmfind.net/linux/redhat/7.3/en/os/i386/RedHat/RPMS/package.1.0-1.i386.rpm";
 )

shellcommands:

     any::

         "/bin/rpm --install $(URL)"

I appreciate any help.

Thanks,

-Andreas Boschke
-Computer Science, UCSB
-andreas @ cs . ucsb . edu






reply via email to

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