Alex | f3dbe86 | 2019-10-07 15:17:04 -0500 | [diff] [blame] | 1 | # Cfg Checker |
| 2 | # Environment file example |
| 3 | |
| 4 | # Either open a tunnel from your hosts using |
| 5 | # 'ssh -L 16969:<cfg-IP>:6969 <user>@<lab-IP>' |
| 6 | # Or run it from within a cloud |
| 7 | |
| 8 | # Main log file of the tests |
Alex | 9a4ad21 | 2020-10-01 18:04:25 -0500 | [diff] [blame] | 9 | MCP_LOGFILE = 'qa-lab.log' |
Alex | f3dbe86 | 2019-10-07 15:17:04 -0500 | [diff] [blame] | 10 | |
| 11 | # SSH is used when environment is not local to get salt password |
| 12 | # in order set options and user for the ssh, |
| 13 | # please, use ~/.ssh/config |
| 14 | # SSH hostname of salt master node |
Alex | 9a4ad21 | 2020-10-01 18:04:25 -0500 | [diff] [blame] | 15 | MCP_SSH_KEY=/Users/savex/.ssh/id_rsa |
| 16 | MCP_SSH_USER=osavatieiev |
| 17 | MCP_SSH_HOST=172.16.242.122 |
Alex | f3dbe86 | 2019-10-07 15:17:04 -0500 | [diff] [blame] | 18 | |
| 19 | # Salt master host to connect to |
Alex | 9a4ad21 | 2020-10-01 18:04:25 -0500 | [diff] [blame] | 20 | MCP_ENV_HOST=172.16.242.122 |
Alex | f3dbe86 | 2019-10-07 15:17:04 -0500 | [diff] [blame] | 21 | # Salt master port. |
| 22 | # Note that you can safely execute second master (not on production) |
| 23 | # on the same cfg node with diferent port and set logging to ALL |
Alex | 9a4ad21 | 2020-10-01 18:04:25 -0500 | [diff] [blame] | 24 | MCP_SALT_PORT=6969 |
Alex | f3dbe86 | 2019-10-07 15:17:04 -0500 | [diff] [blame] | 25 | |
| 26 | # User and password to auth on master. Can be found in /srv/salt/... |
| 27 | SALT_USER=salt |
| 28 | |
| 29 | # default timeout for salt calls |
| 30 | SALT_TIMEOUT=30 |
| 31 | |
| 32 | # Folder where salt points its filesystem: salt:// |
| 33 | SALT_FILE_ROOT=/usr/share/salt-formulas/env/ |
| 34 | |
| 35 | # Subfolder with scripts to be uploaded |
| 36 | SALT_SCRIPTS_FOLDER=test_scripts |
| 37 | |
| 38 | # All nodes list file overide |
| 39 | SALT_NODE_LIST_FILE=etc/qa-lab.list |