Skip to content

CC7: locmap

Using locmap at CERN (TEST)

About locmap

locmap replaces the old desktop configuration tool, lcm, based on Quattor for CERN CentOS 7.
locmap uses puppet and selected modules to configure systems outside datacentre.
locmap allows to configure proposed AFS replacement such as cvmfs, eos fuse client and cernbox.


As root on your system run:

# yum install locmap

(above command will pull in all dependencies for above packages,
including puppet and available modules. Please note that lcm and associated dependencies will be obsoleted and uninstalled.


You can access the documentation by tiping:

# man locmap

You can list enabled modules:

# locmap --list
[Available Modules]

Module name : sudo[enabled]
Module name : sendmail[enabled]
Module name : cernbox[disabled]
Module name : ntp[enabled]
Module name : gpg[enabled]
Module name : cvmfs[disabled]
Module name : ssh[enabled]
Module name : lpadmin[enabled]
Module name : nscd[enabled]
Module name : kerberos[enabled]
Module name : eosclient[disabled]
Module name : afs[enabled]

You can configure all enabled module with the folowing command:

# locmap --configure all

You can configure a new module:

# locmap --enable modulename
# locmap --configure modulename

You can disable a module:

# locmap --disable modulename

Known issues

 * locmap is not run automatically after installation, you will need to
    # locmap --configure all

 * If lpadmincern is not installed on your computer before running locmap
 you will need to run :
    # yum --enablerepo=cr --enablerepo={updates,extras,cern}-testing lpadmincern


For problems related to locmap, contact: