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
- .gitignore
- authz.py
- authz.yaml.sample
- gen.py
- LICENSE
- README.md
- 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