Loading tsa/howto/fabric.mdwn +31 −2 Original line number Diff line number Diff line Loading @@ -204,8 +204,15 @@ support through [Tidelift](https://tidelift.com/subscription/pkg/pypi-fabric). There are no formal releases of the code for now. <!-- a good guide to "audit" an existing project's design: --> <!-- https://bluesock.org/~willkg/blog/dev/auditing_projects.html --> Those are the main jobs being automated by fabric: * [automate installs][] * [automate reboots][] * [automate retirement][] [automate installs]: https://trac.torproject.org/projects/tor/ticket/31239 [automate reboots]: https://trac.torproject.org/projects/tor/ticket/33406 [automate retirement]: https://trac.torproject.org/projects/tor/ticket/33477 ## Issues Loading Loading @@ -255,6 +262,28 @@ complexity of the task and tests were started on Fabric instead, which were positive. A few weeks later, a library of functions was available and the migration procedure was almost entirely automated. ## LDAP notes LDAP integration might be something we could consider, because it's a large part of the automation that's required in a lot of our work. One alternative is to talk with `ldapvi` or commandline tools, the other is to implement some things natively in Python: * [Python LDAP][] could be used to automate talking with ud-ldap, see in particular the [Python LDAP functions][], in particular [add][] and [delete][] * The above docs are very limited, and they [suggest][] external resources also: * https://hub.packtpub.com/python-ldap-applications-extra-ldap-operations-and-ldap-url-library/ * https://hub.packtpub.com/configuring-and-securing-python-ldap-applications-part-2/ * https://www.linuxjournal.com/article/6988 [Python LDAP]: https://www.python-ldap.org/ [Python LDAP functions]: https://www.python-ldap.org/en/python-ldap-3.2.0/reference/ldap.html#functions [delete]: https://www.python-ldap.org/en/python-ldap-3.2.0/reference/ldap.html#ldap.LDAPObject.delete [add]: https://www.python-ldap.org/en/python-ldap-3.2.0/reference/ldap.html#ldap.LDAPObject.add [suggest]: https://www.python-ldap.org/en/python-ldap-3.2.0/resources.html ## Goals ### Must have Loading Loading
tsa/howto/fabric.mdwn +31 −2 Original line number Diff line number Diff line Loading @@ -204,8 +204,15 @@ support through [Tidelift](https://tidelift.com/subscription/pkg/pypi-fabric). There are no formal releases of the code for now. <!-- a good guide to "audit" an existing project's design: --> <!-- https://bluesock.org/~willkg/blog/dev/auditing_projects.html --> Those are the main jobs being automated by fabric: * [automate installs][] * [automate reboots][] * [automate retirement][] [automate installs]: https://trac.torproject.org/projects/tor/ticket/31239 [automate reboots]: https://trac.torproject.org/projects/tor/ticket/33406 [automate retirement]: https://trac.torproject.org/projects/tor/ticket/33477 ## Issues Loading Loading @@ -255,6 +262,28 @@ complexity of the task and tests were started on Fabric instead, which were positive. A few weeks later, a library of functions was available and the migration procedure was almost entirely automated. ## LDAP notes LDAP integration might be something we could consider, because it's a large part of the automation that's required in a lot of our work. One alternative is to talk with `ldapvi` or commandline tools, the other is to implement some things natively in Python: * [Python LDAP][] could be used to automate talking with ud-ldap, see in particular the [Python LDAP functions][], in particular [add][] and [delete][] * The above docs are very limited, and they [suggest][] external resources also: * https://hub.packtpub.com/python-ldap-applications-extra-ldap-operations-and-ldap-url-library/ * https://hub.packtpub.com/configuring-and-securing-python-ldap-applications-part-2/ * https://www.linuxjournal.com/article/6988 [Python LDAP]: https://www.python-ldap.org/ [Python LDAP functions]: https://www.python-ldap.org/en/python-ldap-3.2.0/reference/ldap.html#functions [delete]: https://www.python-ldap.org/en/python-ldap-3.2.0/reference/ldap.html#ldap.LDAPObject.delete [add]: https://www.python-ldap.org/en/python-ldap-3.2.0/reference/ldap.html#ldap.LDAPObject.add [suggest]: https://www.python-ldap.org/en/python-ldap-3.2.0/resources.html ## Goals ### Must have Loading