Re: [Infrastructures] porting isconf to cfengine

"Luke A. Kanies" <[email protected]>
Newsgroups gmane.comp.sysutils.isconf.devel
Message-ID <Pine.GSO.4.51.0301231216230.336@pixie>
On Thu, 23 Jan 2003, Vilius Puidokas wrote:

> On Wed, 22 Jan 2003, Luke A. Kanies wrote:
>
>  in my company we use cf (1.6.3 still) quite heavily. we wrote a wrapper
> script to solve variables problem: it seems that var = ( `escaped shell
> cmd` ) just doesn't work. All the wrapper does is tries determining
> certain vars (like calculating IPs or reading in our product env files)
> then generates variables.cf which cfengine import:'s.
>
> the wrapper is quite site specific and also uses our product-env api
> (just a way to source in a right hash file), but if anyone interested i
> can provide the source (perl).

My main problem isn't getting the variables set to the appropriate values,
but rather getting those variables and values passed to modules and shell
commands.  I'd like some way to have specific cfengine variables exported
to the shell environment, but that doesn't seem possible currently.

Luke

-- 
I went to a restaurant that serves "breakfast at anytime".  So I
ordered French Toast during the Renaissance.     -- Stephen Wright


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.