Merge branch 'master' of ssh://alikins@git.fedoraproject.org/git/hosted/certmaster
[certmaster.git] / setup.py
index 203c405..e47e1b0 100644 (file)
--- 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
@@ -36,8 +37,6 @@ if __name__ == "__main__":
                 package_dir = {"%s" % NAME: "%s" % NAME
                 },
                packages = ["%s" % NAME,
-                           "%s/minion" % NAME,
-                           "%s/overlord" % NAME,
                 ],
                 data_files = [(initpath, ["init-scripts/certmaster"]),
                               (etcpath,  ["etc/minion.conf"]),
@@ -50,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