summaryrefslogtreecommitdiffstats
path: root/certmaster.spec
diff options
context:
space:
mode:
authorJohn Eckersberg <jeckersb@redhat.com>2009-03-18 13:30:31 -0400
committerJohn Eckersberg <jeckersb@redhat.com>2009-03-18 13:44:30 -0400
commitfc94644e28f0af3ce765ec3f87138b264125dee0 (patch)
treec4a476f8e6f891c7c45e15d1ae0d7ea00e776c41 /certmaster.spec
parentcd7c424c4870bdf1b93c43b9283b25fb803361eb (diff)
downloadcertmaster-fc94644e28f0af3ce765ec3f87138b264125dee0.zip
certmaster-fc94644e28f0af3ce765ec3f87138b264125dee0.tar.gz
certmaster-fc94644e28f0af3ce765ec3f87138b264125dee0.tar.xz
[certmaster] Documentation and cleanup for minion-to-minion
* Add man page for certmaster-sync * Symlink certmaster-sync into triggers for post-sign and post-clean (doesn't execute by default) * Add sync_certs setting to default certmaster.conf * Create the empty /var/lib/certmaster/peers directory
Diffstat (limited to 'certmaster.spec')
-rw-r--r--certmaster.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/certmaster.spec b/certmaster.spec
index f7fa30c..e50be18 100644
--- a/certmaster.spec
+++ b/certmaster.spec
@@ -62,6 +62,8 @@ certmaster is a easy mechanism for distributing SSL certificates
%install
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT
+ln -s %{_bindir}/certmaster-sync $RPM_BUILD_ROOT/var/lib/certmaster/triggers/sign/post/certmaster-sync
+ln -s %{_bindir}/certmaster-sync $RPM_BUILD_ROOT/var/lib/certmaster/triggers/remove/post/certmaster-sync
%clean
rm -fr $RPM_BUILD_ROOT
@@ -96,6 +98,8 @@ rm -fr $RPM_BUILD_ROOT
%dir /var/lib/certmaster/triggers/remove/
%dir /var/lib/certmaster/triggers/remove/pre
%dir /var/lib/certmaster/triggers/remove/post
+/var/lib/certmaster/triggers/sign/post/certmaster-sync
+/var/lib/certmaster/triggers/remove/post/certmaster-sync
%doc AUTHORS README LICENSE
%{_mandir}/man1/*.1.gz