In this procedure you will install local Configuration files on managed hosts with an inventory job. The version you want must already be on the Components list, under Local/Configuration files. If the file has a macro sign in its contents, make sure the appropriate macro is also uploaded to the knowledge base. You do not need to add the macros to the inventory job; macros are called and executed automatically by Sun Update Connection – Enterprise.
Make sure the Inventory panel is open in the main window by choosing Inventory from the View menu.
From the drop-down list on the tool bar, select a distribution-architecture.
The Components list changes to display components of the selected distribution.
In the Hosts list, select hosts on which the files will be installed.
In the Components list, under Local/Configuration files select the file version that you want.
Do one of the following:
From the tool bar, click the Required button.
Right-click the selected file and choose Required.
From the Components menu, choose Required.
The action setting appears in the Actions list.
To install the files on hosts of different distributions:
To select specific files from different distributions, change the selection of the drop-down list of distributions in the tool bar. Find the relevant files and set them to Required.
To let Sun Update Connection – Enterprise automatically add to the Actions list the same files that you uploaded to multiple distributions, click the Multi Distribution button. See To Align Component Settings for Multiple Distributions.
Do one of the following:
From the tool bar, click the Run Job button.
Right-click in the Actions list and choose Run on Selected Hosts.
From the Actions menu, choose Run on Selected Hosts.
The Run Job window opens.
Type a name and description for the job.
Select Deploy mode.
Click OK.
The job begins.
The files that were uploaded to the knowledge base are installed on the remote hosts in the path names provided by the File Declaration of each Configuration file version.
If a Configuration file has a macro sign, the macro is called after file installation. The macro executes, and its output replaces the macro sign in the Configuration file.
Your File Declaration is /etc/printcap and the local File is printcap_01. Use this job to install printcap_01 on ten hosts. On the hosts, it installs a file named /etc/printcap that has the contents of printcap_01. The contents of each existing printcap file are overwritten with the contents of printcap_01.