Alex Savatieiev | 5118de0 | 2019-02-20 15:50:42 -0600 | [diff] [blame] | 1 | # Cfg Checker |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 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 | |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 8 | # Main log file of the tests |
Alex Savatieiev | 5118de0 | 2019-02-20 15:50:42 -0600 | [diff] [blame] | 9 | LOGFILE = 'cfg_checker.log' |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 10 | |
Alex Savatieiev | 6357683 | 2019-02-27 15:46:26 -0600 | [diff] [blame] | 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 |
| 15 | SSH_KEY=<ssh_keyfile_path> |
| 16 | SSH_USER=<ssh_user> |
| 17 | SSH_HOST=<ssh_hostname> |
| 18 | |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 19 | # Salt master host to connect to |
| 20 | SALT_URL=127.0.0.1 |
| 21 | |
| 22 | # Salt master port. |
Alex Savatieiev | d48994d | 2018-12-13 12:13:00 +0100 | [diff] [blame] | 23 | # Note that you can safely execute second master (not on production) |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 24 | # on the same cfg node with diferent port and set logging to ALL |
Alex Savatieiev | 6357683 | 2019-02-27 15:46:26 -0600 | [diff] [blame] | 25 | SALT_PORT=6969 |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 26 | |
| 27 | # User and password to auth on master. Can be found in /srv/salt/... |
| 28 | SALT_USER=salt |
Oleksandr Savatieiev | 0f77e14 | 2018-11-23 17:52:01 +0100 | [diff] [blame] | 29 | |
| 30 | # default timeout for salt calls |
| 31 | SALT_TIMEOUT=30 |
| 32 | |
| 33 | # Folder where salt points its filesystem: salt:// |
| 34 | SALT_FILE_ROOT=/usr/share/salt-formulas/env/ |
| 35 | |
| 36 | # Subfolder with scripts to be uploaded |
| 37 | SALT_SCRIPTS_FOLDER=test_scripts |
| 38 | |
| 39 | # All nodes list file overide |
| 40 | SALT_NODE_LIST_FILE=etc/example._list |