diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2012-05-18 10:52:06 -0700 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2012-05-18 11:06:37 -0700 |
commit | 924403a14e92112c3c3d696319759b65eb57a30c (patch) | |
tree | ae097f21c022bd21b4c8b655a0030a8bef3953a3 /base/deploy/src/scriptlets/pkimessages.py | |
parent | 488480629da8cd7c7263fab9773ef5860ad12947 (diff) | |
download | pki-924403a14e92112c3c3d696319759b65eb57a30c.tar.gz pki-924403a14e92112c3c3d696319759b65eb57a30c.tar.xz pki-924403a14e92112c3c3d696319759b65eb57a30c.zip |
PKI Deployment Scriptlets
* Introduced concept of "admin-domain" originally as a
separate folder, and later incorporated this concept
into an optional instance prefix
* Revised definition of <pki_instance_id> to be identified
as "[<pki_admin_domain_name>-]<pki_instance_name>
* Changed NSS security database model from one shared
database by BOTH a single Tomcat AND single Apache instance
into one per Tomcat instance (shared by CA/KRA/OCSP/TKS) and
one per Apache instance (shared by RA/TPS)
* Altered Configuration 'scriptlet' to invoke Jython for
access to new Java configuration servlet
* Renamed various "scriptlets" to comply with this new layout
* Re-aligned code to account for revised layout documented at
http://pki.fedoraproject.org/wiki/PKI_Instance_Deployment
Diffstat (limited to 'base/deploy/src/scriptlets/pkimessages.py')
-rw-r--r-- | base/deploy/src/scriptlets/pkimessages.py | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/base/deploy/src/scriptlets/pkimessages.py b/base/deploy/src/scriptlets/pkimessages.py index 774b1f169..806a64e4d 100644 --- a/base/deploy/src/scriptlets/pkimessages.py +++ b/base/deploy/src/scriptlets/pkimessages.py @@ -123,6 +123,8 @@ PKISPAWN_END_MESSAGE_2 = "END spawning subsystem '%s' of "\ # PKI Deployment "Helper" Messages PKIHELPER_APACHE_INSTANCES_2 = "instance '%s' contains '%d' "\ "Apache PKI subsystems" +PKIHELPER_APPLY_SLOT_SUBSTITUTION_1 = "applying in-place "\ + "slot substitutions on '%s'" PKIHELPER_CERTUTIL_MISSING_ISSUER_NAME = "certutil: Missing "\ "'-c issuer-name' option!" PKIHELPER_CERTUTIL_MISSING_NICKNAME = "certutil: Missing "\ @@ -152,13 +154,13 @@ PKIHELPER_DIRECTORY_IS_EMPTY_1 = "directory '%s' is empty" PKIHELPER_DIRECTORY_IS_NOT_EMPTY_1 = "directory '%s' is NOT empty" PKIHELPER_GID_2 = "GID of '%s' is %s" PKIHELPER_GROUP_1 = "retrieving GID for '%s' . . ." +PKIHELPER_INVOKE_JYTHON_3 = "executing 'export %s;"\ + "jython %s %s <master_dictionary>'" PKIHELPER_IS_A_DIRECTORY_1 = "'%s' is a directory" PKIHELPER_IS_A_FILE_1 = "'%s' is a file" PKIHELPER_IS_A_SYMLINK_1 = "'%s' is a symlink" PKIHELPER_JAR_XF_C_2 = "jar -xf %s -C %s" PKIHELPER_LINK_S_2 = "ln -s %s %s" -PKIHELPER_APPLY_SLOT_SUBSTITUTION_1 = "applying in-place "\ - "slot substitutions on '%s'" PKIHELPER_MKDIR_1 = "mkdir -p %s" PKIHELPER_MODIFY_DIR_1 = "modifying '%s'" PKIHELPER_MODIFY_FILE_1 = "modifying '%s'" @@ -180,7 +182,21 @@ PKIHELPER_UID_2 = "UID of '%s' is %s" PKIHELPER_USER_1 = "retrieving UID for '%s' . . ." +# PKI Deployment Jython "Scriptlet" Messages +# (MUST contain NO embedded formats since Jython 2.2 does not support logging!) +PKI_JYTHON_INDENTATION_0 = "pkispawn : JYTHON " +PKI_JYTHON_INDENTATION_1 = "pkispawn : JYTHON ..." +PKI_JYTHON_INDENTATION_2 = "pkispawn : JYTHON ......." +PKI_JYTHON_INDENTATION_3 = "pkispawn : JYTHON ..........." +PKI_JYTHON_INDENTATION_4 = "pkispawn : JYTHON ..............." +PKI_JYTHON_INITIALIZING_TOKEN = "initializing token located in" +PKI_JYTHON_LOG_INTO_TOKEN = "logging into token located in" + + # PKI Deployment "Scriptlet" Messages +ADMIN_DOMAIN_DESTROY_1 = "depopulating '%s'" +ADMIN_DOMAIN_RESPAWN_1 = "repopulating '%s'" +ADMIN_DOMAIN_SPAWN_1 = "populating '%s'" CONFIGURATION_DESTROY_1 = "unconfiguring '%s'" CONFIGURATION_RESPAWN_1 = "reconfiguring '%s'" CONFIGURATION_SPAWN_1 = "configuring '%s'" @@ -208,6 +224,3 @@ SUBSYSTEM_SPAWN_1 = "populating '%s'" WAR_EXPLOSION_DESTROY_1 = "removing '%s'" WAR_EXPLOSION_RESPAWN_1 = "redeploying '%s'" WAR_EXPLOSION_SPAWN_1 = "deploying '%s'" -WEBSERVER_DESTROY_1 = "depopulating '%s'" -WEBSERVER_RESPAWN_1 = "repopulating '%s'" -WEBSERVER_SPAWN_1 = "populating '%s'" |