04.06.2013 Views

UCS 2.4 - Univention

UCS 2.4 - Univention

UCS 2.4 - Univention

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

14 <strong>Univention</strong> Configuration Registry<br />

• When the force option is used in setting a local variable, settings adopted from the directory service<br />

and variables from the schedule level are overruled and the given value for the local system fixed<br />

instead. An example:<br />

univention-config-registry set --force mail/messagesizelimit=1000000<br />

If a variable is set which is overwritten by a superordinate policy, a warning message is given.<br />

14.9.2 Configuring the policy in <strong>Univention</strong> Directory Manager<br />

When creating the policy object, <strong>Univention</strong> Configuration Registry needs to be selected. Firstly a<br />

name must be set for the policy which is to be created, under which the variables will later be assigned to<br />

the individual computer objects.<br />

In addition, at least one <strong>Univention</strong> Configuration Registry variable must be configured. Firstly, the name<br />

of the variable must be entered under Name of the new Configuration Registry variable. Clicking the<br />

plus sign next to the input field changes the input field to Variable: NAME. The value to be set must now<br />

be entered here.<br />

Clicking on Ok saves the policy; alternatively, further variables can also be created.<br />

This policy can then be assigned to a computer object. Note that the display of configured values dif-<br />

fers from the remaining policies: the values are not display directly in <strong>Univention</strong> Directory Manager but<br />

rather written on the assigned computer by <strong>Univention</strong> Directory Policy. The time interval used for this is<br />

configured by the <strong>Univention</strong> Configuration Registry variable ldap/policy/cron and set at one hour as<br />

standard.<br />

14.10 <strong>Univention</strong> Configuration Registry in manually created packages<br />

Configuration files can also be integrated in the <strong>Univention</strong> Configuration Registry system when creating<br />

individual software packages for use in <strong>UCS</strong>. The complete procedure for package creation in <strong>UCS</strong> is<br />

documented separately (see [20]).<br />

A subdirectory with the name conffiles must be created in the directory with the package<br />

sources. The configuration files and any subdirectories are copied here. For example, if the file<br />

/etc/ldap/slapd.conf should be managed by <strong>Univention</strong> Configuration Registry, it is copied to<br />

conffiles/etc/ldap/slapd.conf.<br />

Wildcards can now be integrated into the configuration files in conffiles for the variables and any neces-<br />

sary Python code.<br />

In any case default values for the variables used by the respective binary package can be issued<br />

in debian/postinst or debian/.postinst through certain settings (see<br />

Chapter 14.5).<br />

The line<br />

univention-install-config-registry<br />

284

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!