Environment
Novell ZENworks 11 Configuration Management
Situation
In the ZLM product, the command:
zlman bc bundlename folder
creates a template bundle to which actions can be later added with additional zlman commands.
In ZENworks 11, the command:
zman bc bundlename bundle.xml
requires an xml for input and doesn't easily allow modifications outside of ZCC.
How can the functionality of zlman be achieved in ZENworks 11?
Resolution
An alternate zman command "linux-export-actions " has been provided to facilitate scripted bundle creations.
This command takes the rpms as argument and creates the action XML. Then the rpms can be added to the bundle using the zman "bundle-add-actions " command.
To avoid editing of XML files manually:
- Create an empty linux bundle in ZCC
- Using zman bundle-export-to-file command, create the bundle XML for the bundle.
Note: Steps 1 and 2 need only be done once. - Using the bundle XML, create any new bundle using zman bundle-create
- Create the action XML for the RPM packages to to add to the bundle:
zman linux-export-actions command - Add the packages to the bundle using zman bundle-add-actions command with the action XML as argument.