62
ZENworks 10 Configuration Management System Administration Reference
n
ov
do
cx (e
n)
16
Ap
ril 20
10
Overriding Inherited Settings:
When configuring system variables for a folder, device, or
bundle, you can override an inherited variable by defining a new variable with the same name
but a different value. For example, if
ProgramFiles=C:\
is defined at the Management Zone,
you can override it by defining
ProgramFiles=D:\
at the device folder level or at the device
or bundle.
You can use a system variable when creating a bundle. Depending on the location of the
targeted device object in the folder hierarchy, the value can be different.
For example, suppose that all of your applications are installed in
C:\program files
except
for specific applications used by the accounting department, which are installed in
D:\program
files
. You define the ProgramFiles variable at the Management Zone level to point to
C:\program files
. For the accounting applications, you create a device folder called
Accounting Department
to contain the devices in the accounting department. You can set the
value for the ProgramFiles variable to
D:\program files
on the Accounting Department
device folder level. When the same bundle is applied to devices, the path to the program files
directory is on the
C:\
drive for all targeted devices except for those contained in the
Accounting Department device folder. For those devices, the program files directory points to
the
D:\
drive.
4.2 Adding System Variables
1
In ZENworks Control Center, click the
Configuration
tab.
2
In the Management Zone Settings list, click
Device Management
.
3
Click
System Variables
.
4
Click
Add
, provide the name and value for the variable, then click
OK
.
When configuring system variables for a folder, device, or bundle, you can override an
inherited variable by defining a new variable with the same name but a different value. For
example, if
Var1=c:\
is inherited, you can override it by defining
Var1=d:\
.
Variable names cannot include spaces and must be unique at the level where they are defined.
For example, you cannot have two variables named Var1 defined at the device level (unless one
is inherited, in which case the device-level variable overrides the inherited variable).