Complete the following steps to create an RPM bundle in ZENworks 7 Linux Management:
Complete the wizard to create a bundle. The steps of the wizard are described in the following sections. RPM Bundle Creation Wizard: Bundle TypeOn this first page you need to select the RPM bundle type to create. An RPM bundle enables you to specify a set of RPM files you wish to install on the targeted device. Select the RPM bundle type. Press Next. This moves you to step 2 of the wizard. RPM Bundle Creation Wizard: Bundle NamingFigure 7.2 displays step 2 of the wizard. Figure 7.2. Step 2 of Bundle Creation Wizard.During step 2 of the wizard you must enter the following information:
Press Next. This advances the wizard to step 3, where you specify the RPM files. RPM Bundle Creation Wizard: RPM AdditionsStep 3 displays a screen similar to Figure 7.3. Figure 7.3. Step 3 of Bundle Creation Wizard, to insert RPM files.On step 3 of the wizard you are asked to enter each of the RPMs that you want to include as part of the bundle. Complete the following for each RPM file you want to include:
NOTE If you have a lot of RPMs to place into a bundle, you may want to use the zlman command-line tool, which provides for the creation and insertion of wildcard-matching RPM files into bundles. See Appendix A, "Commands," for more information on the zlman command. This takes you to the next page of the creation wizard. RPM Bundle Creation Wizard: Icon SpecificationStep 4 of the wizard enables you to specify an icon file that contains the graphical icon you want to associate with this bundle. This icon is displayed on the target device when the bundle is presented in the GUI interface, which allows for manual updates. When you enter or browse to the path of the icon file and press Next, ZENworks uploads that file into the system. After the icon file is specified, you move to the next step of the wizard. RPM Bundle Creation Wizard: Launch ScriptsStep 5 of the wizard enables you to specify scripts that you may want to run before the bundle is distributed to the device and after the distribution is completed. You are first presented with a screen that lets you activate a pre-launched and/or a post-launched script (see Figure 7.5). Figure 7.5. Activation screen of pre-launch and post-launch scripts.You can specify four types of script options:
The following describes how to enter into the system each of the Script, Binary, or Java types. After you have finished entering your distribution scripts, press Next. SHELL SCRIPTWhen you select that the script is to be a shell script, additional information fields are displayed, as shown in Figure 7.6. Figure 7.6. Additional field for scripts of type Script.The first field enables you to describe whether the script is a specified file already on the device (Specify a File), or whether the script is one you want to enter into the ZENworks Control Center (Define Your Own Script). If you choose to define your own script, you are presented with a large text field where you can type in your script. This entered script is delivered to the managed device as part of the RPM bundle and executed in the standard device shell environment. There are no additional fields to provide to ZENworks. If, however, you choose to specify a file, you need to enter data into the following fields:
After all the appropriate fields are specified, the script is defined. BINARY SCRIPTIf you chose to have a binary script, the fields displayed in Figure 7.7 are presented. Figure 7.7. Fields presented when a binary script is selected.Complete the following fields:
After these fields are specified, the binary script is defined. JAVA SCRIPTIf you chose to have a Java script, the fields displayed in Figure 7.8 are presented. Figure 7.8. Fields presented when a Java script is selected.Complete the following fields:
After these fields are specified, the Java script is defined. RPM Bundle Creation Wizard: Install ScriptsThis step of the wizard enables you to specify scripts that should be launched before and after the RPM bundles are installed. Follow the same instructions as specified in the earlier Launch Script section to create the desired script. After the scripts are defined, press Next. RPM Bundle Creation Wizard: SummaryThe final step of the wizard is the summary page. The summary page displays all aspects of the bundle. Review the summary page and press Back to return to a previous page to make changes, press Cancel to terminate the bundle creation, or press Finish to complete and create the bundle. After you press the Finish button, the ZENworks Control Center displays whether the bundle was successfully created. Press OK to return to the ZENworks Control Center. |