From ece4c159e4fd726a70b1da25821493fb8a90c8b3 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Tue, 22 Apr 2008 14:36:17 -0400 Subject: apply triggers patch from Steve Salevan Steves comments: Adding in triggering functionality, changed specfile and MANIFEST.in to reflect changes. Added sub_process.py file to facilitate the subprocesses necessary for triggering to work. Modified certmaster.py to add trigger points. --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index bd1cf53..e47e1b0 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ if __name__ == "__main__": initpath = "/etc/init.d/" logpath = "/var/log/%s/" % NAME certdir = "/var/lib/%s/" % NAME + trigpath = "/var/lib/%s/triggers/"% NAME pkipath = "/etc/pki/%s" % NAME rotpath = "/etc/logrotate.d" aclpath = "%s/minion-acl.d" % etcpath @@ -48,7 +49,13 @@ if __name__ == "__main__": (certdir, []), (etcpath, []), (pkipath, []), - (aclpath, []) + (aclpath, []), + ("%s/sign/pre/" % trigpath, []), + ("%s/sign/post/" % trigpath, []), + ("%s/remove/pre/" % trigpath, []), + ("%s/remove/post/" % trigpath, []), + ("%s/request/pre/" % trigpath, []), + ("%s/request/post/" % trigpath, []), ], description = SHORT_DESC, long_description = LONG_DESC -- cgit