presence: Install JSON config files from repo
Install the JSON config files for the machine name provided in the
environment variable "MACHINE" into the application's data directory.
When no "MACHINE" name is given, the entire contents of the
`config_files` directory is installed and when a given "MACHINE" named
directory does not exist, the installation is intended to fail. This
failure of installation is to ensure that the fan application's
necessary JSON config files will exist so the fan application does not
fail to start.
Change-Id: I350643cc7378963da39a9c2ebc2a6d9748f04c46
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed