blob: a4a387b73aedc31df8e78e0cc7f2784576c8214a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
_ _
_____ ___ __ ___ __ _ ___| |__ (_)_ __ __ _
/ _ \ \/ / '_ ` _ \ / _` |/ __| '_ \| | '_ \ / _` |
| __/> <| | | | | | (_| | (__| | | | | | | | (_| |
\___/_/\_\_| |_| |_|\__,_|\___|_| |_|_|_| |_|\__,_|
by the hand of root
### Status
Just a first commit...
TODO:
* export python-augeas API calls in server
* add /etc/init.d start/stop/status/reset API methods
* re-implement python-augeas methods using API client-side
* use /var/lib/exmachina/<something> as socket instead of /tmp/exmachina.sock?
* check to make sure server is running as root
* check/set permissions on socket after server opens it
* tests and demonstrations
* fix/remove logging
### Dependancies (server)
* augeas configuration editing library
* python-augeas wrapper for augeas
* bjsonrpc python library
On debian (wheezy) try:
$ sudo apt-get install augeas-tools python-bjsonrpc python-augeas
### Dependancies (client)
* bjsonrpc
On debian (wheezy) try:
$ sudo apt-get install bjsonrpc
### License
exmachina.py is GPLv3
|