- User wants to run a DC/OS integration test which requires just a master node
- User creates a cluster with just a master node
- User sets the MASTER_HOSTS, SLAVE_HOSTS, PUBLIC_SLAVE_HOSTS environment variables.
- User sees:
I believe that the error is in the following code:
For each of the keys which refer to roles, e.g. slaves, if slaves is falsy if os.environ['SLAVE_HOSTS'] == ''.
Instead, the logic could be slaves.split(',') if slaves is not None else None.