Marc Bonnici
8dcf1ba6a5
Bootstrap: Make sure that _env_root is an absolute path
...
If the environment variable $WA_USER_DIRECTORY is not set `_env_root`
is automatically generated from the path expansion of `~`. In some cases
if a home directory is not avaliable for the user this may result in an empty
string. This commit ensure that '_env_root' is still an absolute path
using the current working directory.
2017-08-16 16:24:13 +01:00
Sebastian Goscik
9707aa6237
Pylint fixes
...
Pylint now checks for trailing new lines, this commit fixes them.
2016-07-21 16:40:26 +01:00
Sergei Trofimov
b6c0e2e4fd
boostrap: nicer error messages on config parasing.
...
- handle ValueError as well as SyntaxError from config parser
- Report source file in the error message
2016-04-14 16:18:31 +01:00
Sergei Trofimov
c076a87098
Added support for YAML configs
...
Config files (the default one in ~/.workload_automation plus ones
specified with -c) can now be written using YAML syntax as well as
Python.
2015-06-18 11:35:50 +01:00
Sergei Trofimov
54e89a2118
Fix to initial ~/.workload_automation deployment when sudoing
...
Only attempt to chown ~/.workload_automation to SUDO_USER if the
effective user is root.
2015-04-24 10:05:13 +01:00
Sergei Trofimov
529a1d3b95
Fixing initialization of ~/.workload_automation.
2015-03-13 10:25:31 +00:00
Sergei Trofimov
a747ec7e4c
Initial commit of open source Workload Automation.
2015-03-10 13:09:31 +00:00