[Pki-devel] [PATCH] PKI Deployment Framework

Matthew Harmsen mharmsen at redhat.com
Thu Apr 12 02:45:44 UTC 2012


Please review and provide an ACK for the attached patch.

This patch attempts to continue implementation of the PKI Deployment 
Framework based upon the revised filesystem layout documented here:

  * http://pki.fedoraproject.org/wiki/PKI_Instance_Deployment#CA_.2F_KRA_.2F_OCSP_.2F_RA_.2F_TKS_.2F_TPS

The following patch adds/corrects functionality of the existing PKI 
Deployment Framework including (but not limited to):

  * Created first three 'scriptlets':
      o Dogtag 10: Python 'instance_layout.py' Installation Scriptlet
          (https://fedorahosted.org/pki/ticket/75)
      o Dogtag 10: Python 'webserver_layout.py' Installation Scriptlet
          (https://fedorahosted.org/pki/ticket/140)
      o Dogtag 10: Python 'subsystem_layout.py' Installation Scriptlet
          (https://fedorahosted.org/pki/ticket/141)
  * Created numerous PKI deployment helper utilities.
  * Augmented logging to provide indentation.
  * Generated logic for installation 'manifest'.
  * Tested logic using '--dry_run' option and '-p' prefix options.

After being installed, this code can be tested by running the following 
command-line examples (as 'root' or 'sudo'):

  * mkdir /tmp/pki
  * sudo pkispawn -s CA -p /tmp/pki -v --dry_run
  * sudo pkispawn -s CA -p /tmp/pki -v
  * sudo pkispawn -s CA -p /tmp/pki -u -v --dry_run
  * sudo pkispawn -s CA -p /tmp/pki -u -v
  * sudo pkidestroy -s CA -p /tmp/pki -v --dry_run
  * sudo pkidestroy -s CA -p /tmp/pki -v

This code ONLY affects the un-released 'pki-deploy' package, so check-in 
of these changes should not harm the existing source in any way.

NOTE:  After receiving an ACK for these changes, I will update my 
horribly out-of-date working repo located at:

  * http://fedorapeople.org/gitweb/mharmsen/public_git/pki.git

Thanks in advance,
-- Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20120411/797e1642/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Created-first-three-scriptlets.patch
Type: text/x-patch
Size: 100152 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20120411/797e1642/attachment.bin>


More information about the Pki-devel mailing list