Log in with full permissions or as the admin user.
From the drop-down list in the tool bar, select a distribution-architecture.
The Components list shows Local components applied to the selected distribution.
From the Components list select Local/Configuration Files/[category].
Do one of the following:
From the tool bar, click the Add Component button.
Right-click the selected category and choose Local -> Add.
From the Components menu, choose Local -> Add.
The Add Target File Declaration window opens.
In the Target File path name text-field, type the path name where you want the files that will be held under this declaration to be installed on the target hosts. Do not delete the starting back-slash.
Type a free-text description.
Check each distribution to which this file should be applied.
Click Apply.
The status column indicates when the file declaration is uploaded to the knowledge base.
Click Close.
The Add Target File Declaration window closes.
The file declaration is created. A file with a suffix of -Unknown is also created. This is a placeholder and prevents accidental overwrites.
You may add a file declaration to all distributions (default; do not use the -D parameter) or to a single distribution. If you choose to add a file declaration to a single specified distribution, you can add the Configuration files only to that distribution. Remember that a file declaration, declares the target path name for installation; it does not upload the file itself.
In the CLI syntax, a category under the default Local categories is mandatory. See the procedure: Example 5–1 on for the Add Local Category CLI command. See Add File Declaration (-afd) Command.
#! /bin/bash function login { echo -n “Type your user name:” read user echo -n “Type your password:” read password } function distro { echo “Active distributions are:” uce_cli -ld -u “$user” -p “$password” echo -n “To which distro should this be added?” read distro echo } function category { echo “Under which category should this File Declaration be added?” echo “Valid answers: any subcategory under Configuration files. See list:” uce_cli -fc -T “Configuration files” -sons -D $distro -u “$user” -p “$password” > tmp.file sed “s/ROOT\/Local\/Configuration files//” tmp.file echo -n “Start your answer with / :” read parent rm tmp.file echo } function setup { echo -n “Type the full path name for target installation:” read path name } login distro category setup uce_cli -afd -tfp “$pathname” -pT “Configuration files$parent” -D $distro -u “$user” -p “$password” |