I'm working on adding code which will add a user-driven setup sequence to configure a management node:

This relates to the following issues:

"Make installation and configuration easier"

http://issues.apache.org/jira/browse/VCL-224 -- "Add all settings from vcld.conf to database except for database connection settings".

The goal is to make it easier to configure the backend vcld components and to provide a relatively easy mechanism to allow modules to implement a setup subroutine. As of now, vcld is configured by editing various text files and manually copying files to the appropriate locations.

Here's the plan:
-add setup_vcld() subroutine to vcld which drives the setup mode
-add -setup switch to vcld which causes the setup_vcld() subroutine to be called
-setup_vcld() retrieves the list of modules from the database and checks if the module has implemented a setup() subroutine -setup_vcld() calls setup() for each module which has implemented it and checks the return value, aborts if false

I have created an initial setup_vcld() subroutine for vcld which I will commit soon. From there I will try implementing setup() in XP.pm which will configure the product key for Windows XP in the database.

Let me know if you have any thoughts or are interested in helping out.


Reply via email to