Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.15 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.15 KB

Toolsctl

Toolsctl is a command line program that can be used to list and create Toolforge tool accounts stored in an LDAP directory. This functionality is provided as part of the Striker application for the production Toolforge deployment. In a testing environment without Striker, this tool can be used as an easier replacement than manual LDAP edits.

Usage

Create a configuration file (yaml format) based on the example (values in that file are aimed at Mediawiki Vagrant's striker role). You are likely to need to use the --config argument to point to your file.

The tool name is automatically prepended with the tool name and a dot, so don't include "tools." before the name. The required maintainer argument should be an LDAP user (eg. uid=bstorm,ou=people,dc=wikimedia,dc=org).

Full example: ./toolsctl.py --config config.yaml add -m uid=bstorm,ou=people,dc=wikimedia,dc=org test6

License

Toolsctl is licensed under the Apache-2.0 license.