avocado-framework/avocado — pull request #300 by lmr (2014-12-10 20:24:23+00:00)
Title: Config support v4

Follow up to PR #296.

Add better support to config support. This PR implements the card:

https://trello.com/c/WsDMg7RP/161-initial-support-for-avocado-config-files-server-and-client

As a matter of fact, avocado has support for config files, it was only not very visible, and we did not create the config file automatically in the user's config dir. This patch changes that, and adds a new plugin for config values configuration and visualization, that supersedes the `datadir` plugin.

Changes from v3:
* Changed `/var/tmp/avocado` to `/var/tmp`, since it is more correct and secure, following comments made by @adereis.

Changes from v2:
* Create an empty config file at the user's config location, instead of copying system wide values.
* Remove the `datadir` plugin, as it has redundant functionality.

Changes from v1:
* Read from system wide, then override with local config values instead of only reading local config values if available.
* Added support to avocado.conf.d.