6.4 Creating and Managing YUM Services for Bundles on Linux Devices

The RPM packages in the ZENworks package repository are published in a format that can be used only by the ZENworks Agent. In other Linux distributions, some package management tools like YaST, ZYpper, and YUM cannot understand this package repository format of the ZENworks Server, so they cannot access the necessary packages. In order to make the ZENworks published packages available to these package management tools, you can export the packages in a bundle to a YUM repository and publish the YUM repository on any ZENworks Server. You can then add the YUM repository to YaST, ZYpper, or YUM, or to any tool that understands the format of the YUM repository, and make use of the packages on the ZENworks Server.

You can also create a YUM service for bundle groups. Each bundle in the group is created as a patch in the exported YUM service. 

NOTE:

  • If you create a YUM repository from a bundle, this new YUM repository will contain only packages.

  • If you create a YUM repository from a bundle group, this new YUM repository will contain both packages and patches, with each patch corresponding to a member bundle of the bundle group.

  • YUM repositories created by ZENworks do not support patterns.

You can create a YUM service for a published version (not a sandbox version) of a Linux bundle or a Linux Dependency bundle.

6.4.1 Creating a YUM Service

  1. In ZENworks Control Center, click Bundles in the left pane to display the Bundles panel.

  2. In the Name column, click a Linux bundle or a Linux Dependency bundle to display its Summary tab.

  3. In the General panel, click Create next to the YUM Service field.

    This opens the Bundle YUM Service Wizard.

  4. In the Primary Servers panel, click Add.

  5. In the dialog box, browse for and select the servers on which you want to host the YUM service, then click OK.

  6. Click Finish to create the YUM service on the bundle.

    The bundle’s Summary page is displayed.

    The YUM Service field displays the relative path of the YUM repository.

The YUM service does not exist until the first YUM service is hosted on a Primary Server.

NOTE:If you are unable to use https for the YUM repository created by ZENworks 11SP3, see TID 7007928 in the Novell Support Knowledgebase

6.4.2 Editing a YUM Service

You can edit a YUM service to add additional Primary Servers on which you want to host the YUM service or remove the Primary Servers on which you do not want the YUM service.

  1. In ZENworks Control Center, click Bundles in the left pane to display the Bundles panel.

  2. In the Name column, click a Linux bundle or a Linux Dependency bundle to display its Summary tab.

  3. In the General panel, click Edit next to the YUM Service field.

    You can add or remove Primary Servers.

  4. In the Bundle YUM Service wizard that is displayed, add or remove the Primary Servers.

    Tasks

    Steps

    Adding a Primary Server

    1. In the Primary Servers panel, click Add.

    2. Browse for and select the servers on which you want to host the YUM service, then click OK.

    3. Click Finish.

    4. To remove a Primary Server on which you do not want the YUM service,

    Removing a Primary Server

    1. In the Primary Servers panel, select the check box next to the Primary Servers that you want to remove.

    2. Click Finish.

6.4.3 Removing a YUM Service

Removing a YUM service from a bundle removes it from all the Primary Servers on which the service is hosted.

  1. In ZENworks Control Center, click Bundles in the left pane to display the Bundles panel.

  2. In the Name column, click a Linux bundle or a Linux Dependency bundle to display its Summary tab.

  3. In the General panel, click Remove next to the YUM Service field.

NOTE:Click the Click here to Update YUM Service Now link in YUM Service Settings to effectively remove the YUM service immediately, or the YUM service is removed when the next YUM Services Refresh Schedule is configured.