Skip to content

Commit

Permalink
Fixed outdated ciphers.info.
Browse files Browse the repository at this point in the history
The pkispawn has been modified to link ciphers.info instead
of copying it into the instance folder so it can be upgraded
automatically.

https://pagure.io/dogtagpki/issue/2560

Change-Id: Ieb05a9c214807aa90024025559dbb3a9ffcbabf8
  • Loading branch information
edewata committed Mar 14, 2018
1 parent fb087d2 commit 4d4f6b9
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ def spawn(self, deployer):
os.path.join(deployer.mdict['pki_instance_configuration_path'],
"catalina.properties"))

# Link /etc/pki/<instance>/ciphers.info
# to /usr/share/pki/server/conf/ciphers.info.
deployer.symlink.create(
os.path.join(deployer.mdict['pki_source_server_path'],
"ciphers.info"),
os.path.join(deployer.mdict['pki_instance_configuration_path'],
"ciphers.info"))

# Link /etc/pki/<instance>/context.xml
# to /usr/share/tomcat/conf/context.xml.
deployer.symlink.create(
Expand Down Expand Up @@ -259,6 +267,7 @@ def file_ignore_callback_src_server(src, names):

return {
'catalina.properties',
'ciphers.info',
'schema.ldif',
'database.ldif',
'manager.ldif',
Expand Down

0 comments on commit 4d4f6b9

Please sign in to comment.