Keep turning the crank. Construct a long-lived Generator to hold an
LDAP connection and templates/inputs for generating the authz files.
Defer .write_files() to the generator.

Note that .group_members() is mostly lifted from the other gen.py
script's _group_from_LDAP() method, then cleaned up to better handle
data flow/ownership.
2 files changed
tree: 1aa0a05e31c22221b8eae525c2161b83ac0752fb
  1. .gitignore
  2. authz.py
  3. authz.yaml.sample
  4. gen.py
  5. LICENSE
  6. README.md
  7. requirements.txt
README.md

Daemon to maintain authz files for Apache Subversion

This daemon uses pubsub to watch for template/defition changes for authz files, and also watches for LDAP group changes to fill into the template(s).

This uses the ASF's “pipservice” Puppet class to operate/configure the daemon.

more tbd