8014: Improve conffile handling in arvados-sso postinst.
authorBrett Smith <brett@curoverse.com>
Fri, 1 Jan 2016 17:17:01 +0000 (12:17 -0500)
committerBrett Smith <brett@curoverse.com>
Mon, 11 Jan 2016 22:13:04 +0000 (17:13 -0500)
commit9fb392b2eaa59f20f7186de726531d922408dfa1
treea189940c49f006661aa26f6c5d42435a5aa72d1b
parent1c0ce486e11b13ef5cd10959d4eca1fd948d88d1
8014: Improve conffile handling in arvados-sso postinst.

* DRY it up into a function.
* DATABASE_READY and APPLICATION_READY care about whether the
  corresponding .yml file is usable.  Always detect when it is
  unmodified from the .yml.example file.
* Build symlinks from /var/www to /etc in more cases where it's safe.
jenkins/arvados-sso-server-extras/arvados-sso-server.postinst