You can create Linux Dependency bundles to store the dependency packages in order to resolve package dependencies on the managed device.
Linux Dependency bundles cannot be installed on a device by using the zac bundle-install command. However, on the agent, you can install packages from a Linux Dependency bundle by using the zac install command if the Publish Package flag is set to true for those packages. The agent command to list the packages of a bundle does not list any package for the Linux Dependency bundles unless the Publish Package flag is set to true for the package.
NOTE:You cannot assign any schedules while assigning Linux Dependency bundles to devices.
You can create Linux Dependency Bundles in any of the following ways:
In ZENworks Control Center, create a subscription.
For more information on how to create subscriptions, see Creating Subscriptions by Using ZENworks Control Center.
Click the subscription name link on the Subscriptions page.
The Subscription’s Summary page is displayed.
In the Options panel, select Create Linux Dependency Bundle in the Bundle Options group.
If you are replicating from a ZLM repository that has multiple bundles, selecting this option creates the same number of Linux Dependency bundles as are in the ZLM catalog. If you are replicating from a repository other than a ZLM repository, selecting this option creates a single Linux dependency bundle.
Select the Publish Packages option to allow the user on the ZENworks agent to directly install the packages on the agent by using the zac command. If you do not select this option, the packages are used for dependency resolution in other Linux bundles.
Click the Run Now link in the Schedule pane or from the Quick Tasks menu on the Subscriptions page to begin the replication immediately.
or
Schedule when you want to replicate.
For more information on schedules, see Schedule Types in the ZENworks Primary Server and Satellite Reference.
If the replication is successful, the Linux Dependency bundle is created in a folder on the ZENworks server. The folder name is the catalog name that you chose to download while creating the subscription. You can see this folder in ZENworks Control Center > Bundles.
You can also create Linux Dependency bundles from the Bundles tab in ZENworks Control Center or by using the zman command line utility.
For more information on how to create Linux Dependency bundles from the Bundles tab in ZENworks control Center, see the ZENworks Software Distribution Reference. For more information on how to create Linux Dependency bundles by using the zman command line utility, see Bundle Commands
in the ZENworks Command Line Utilities Reference.
In ZENworks Control Center, click the Bundles tab to display the Bundles panel.
Click New > Bundle to display the Create New Bundle Wizard.
Select Linux Dependency Bundle.
On the Define Details page, specify a name for the bundles, then click Next.
As you complete the wizard, if you need more information about any fields or options, click the Help button located in the upper right corner of ZENworks Control Center.
On the Select .rpm Files page, perform any of the following tasks:
Task |
Steps |
---|---|
Add a file |
The Status field displays the status of the RPM files that you are uploading. |
Edit a file |
|
Remove a file |
|
Select Targets |
|
Click Next to display the Summary page.
If you want to perform other configuration tasks after the bundle has been created, select the Define Additional Properties check box.
For example, you can make assignments to the bundle in the Relationships tab, view actions in the Actions tab, and so on.
Select the Create As Sandbox check box to deploy the bundle as a sandbox version. A sandbox version of a bundle enables you to test it on your device before actually deploying it.
Review the configuration, then click one of the following:
Back: Lets you make changes after reviewing the summary.
Finish: Creates the Linux Dependency bundle according to the configured settings listed on this Summary page.
Run the zman bundle-create bundle_name path_of_bundle_xml_file command.
You can obtain the sample bundle XML files from the following locations on the server:
/opt/novell/zenworks/share/zman/samples/linuxbundles/Empty_DependencyBundle.xml
Add packages to the Linux bundles:
Create an action XML file for the local RPM packages by running the zman linux-export-actions command.
While creating the action XML file for Linux Dependency bundles, the action type argument should be Distribute RPM.
Add the packages to the bundle by running the zman bundle-add-actions command. The action XML file that was created should be used as an argument with this command.
For more information on these commands, see Bundle Commands
in the ZENworks Command Line Utilities Reference.
In ZENworks Control Center, click the Bundles tab.
In the Name column, click a Linux Dependency bundle to display its Summary tab.
Click the Packages tab.
Click Add, then select whether you want to upload an RPM or import the file from a repository.
Select the packages whose target you want to change from default All to targets, then select the targets that you want to be associated with the selected packages.
Click Apply to add the selected target.
Click Apply to save the created actions to the Linux Dependency bundle.
Click the View link under Targets to view the action created with packages selected with a specified target.