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.
Installation
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.
Usage
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 following command:
# locmap --configure all
You can configure a new module:
# locmap --enable modulename # locmap --configure modulename
You can disable a module:
# locmap --disable modulename
You can remove root access to the Main Users of LanDB using the --disallow_root
. It means that, only Resposibles defined in LanDB will have root access.
# locmap --disallow_root --configure modulename # locmap --disallow_root --configure all
Known issues
* locmap is not run automatically after installation, you will need to run: # 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
Support
For problems related to locmap, contact: linux.support@cern.ch