~bladernr/maas-cert-server/mcs-install-curtin_userdata-by-packaging

Viewing all changes in revision 52.

  • Committer: Jeff Lane
  • Author(s): Rod Smith
  • Date: 2016-04-07 16:45:28 UTC
  • mfrom: (51.1.1 013-always-update-index)
  • Revision ID: jeff_lane-20160407164528-f84kt3wzk30cotbq
Currently, the index.html file (that includes links to various documentation files) included as part of this package for the web server is only updated if the user re-runs the maniacs-setup script with no options. This patch causes it to be updated whenever maniacs-setup is run, even with limiting options. This should help to keep the index file updated.

Alternatively, index.html could be moved from maas-cert-server to certification-docs, which would keep it updated even better; however, certification-docs might conceivably be installed without maas-cert-server, in which case it might not be appropriate to put its index.html file at the base of the web server's tree. This problem might be handled by an installation script (part of the Debian packaging) that checks for the presence of maas-cert-server, but that's getting WAY more complex than this MR's simple move of one line in maniacs-setup, so I'm starting with this as a quick improvement.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: