Creating System Variables; Using Variables In Zenworks Policies: A Sample Use Case - Novell ZENWORKS LINUX MANAGEMENT 7.2 IR2 - ADMINISTRATION GUIDE 09-25-2008 Administration Manual

Table of Contents

Advertisement

7.1.1 Creating System Variables

To provide a variable at the device level:
1 In ZENworks Control Center, click the Devices tab.
2 Navigate to and click the desired device, click the Settings tab.
3 Click System Variables, then click Override settings.
4 To add a system variable, click Add, then fill in the Name and Value fields.
When specifying the variable in an object's field, use the following syntax:
${VAR_NAME}
5 Click OK.
Click the
To provide a variable at the folder level: from the ZENworks Control Center, click the Devices tab,
click the (Details) link next to the desired folder, click the Settings tab, then click System Variables.
Click the
1 In ZENworks Control Center, click the Devices tab.
2 Click the (Details) link next to the desired folder, click the Settings tab, then click System
Variables, then click Override settings.
3 To add a system variable, click Add, then fill in the Name and Value fields.
When specifying the variable in an object's field, use the following syntax:
${VAR_NAME}
4 Click OK.
Click the
To set system variables for your ZENworks system:
1 In the ZENworks Control Center, click the Configuration tab.
2 Click System Variables.
3 To add a system variable, click Add, then fill in the Name and Value fields.
When specifying the variable in an object's field, use the following syntax:
${VAR_NAME}
4 Click OK.
7.1.2 Using Variables in ZENworks Policies: A Sample Use
Case
In this scenario, you have a SLES 9 and a SLES 10 managed device. Both devices have a common
file, deviceid. On SLES 9, the file is located at /etc/opt/novell/zenworks/zmd, and
on SLES 10 it is located at /etc/zmd. Assume that you want to place a copy of deviceid in the
/tmp directory on both devices by using the Remote Execute policy. Instead of creating two
Remote Execute policies, one each for the SLES 9 and SLES 10 managed device, you can create one
policy by using system variables.
68
Novell ZENworks 7.2 Linux Management Administration Guide
icon for additional help
icon for additional help.
icon for additional help

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks linux management 7.2ir2

Table of Contents