Wow!  I don't think this is possible.  There is too much environmental information that cfagent is looking for to make it's decisions about what to do.  What is wrong with installing cfengine on the system and then doing a --dry-run to see what it would do?

--
David Masterson
VMware, Inc.
Palo Alto, CA

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lionel Ostric
Sent: Thursday, November 03, 2005 10:05 AM
To: [email protected]
Subject: Cfengine simulator

All,
 
    I'd like to create a web page where one could select classes and then click submit to see what cfengine would do on a machine where such classes are defined. The aim is to see what cfengine would do on a certain machine before installing cfengine on it ... This script would run on a totally different architecture and OS machine.
    I was thinking about running cfagent -n -H -v -Dredhat7 on a solaris machine (my policyhost) to see what would happen on a redhat 7 machine without installing cfengine on it ... but unfortunately cfagent do not want me to define Hard Classes like redhat7 using the -D flag ....
 
    Do you have an idea of what I could do ?
 
Thanks
Lionel
 
 
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to