zman bc functionally different than zlman bc

  • 7007247
  • 23-Nov-2010
  • 27-Apr-2012

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:

  1. Create an empty linux bundle in ZCC
  2. Using zman bundle-export-to-file command, create the bundle XML for the bundle.
    Note:  Steps 1 and 2 need only be done once.
  3. Using the bundle XML, create any new bundle using zman bundle-create
  4. Create the action XML for the RPM packages to to add to the bundle:
    zman linux-export-actions command
  5. Add the packages to the bundle using zman bundle-add-actions command with the action XML as argument.