Part of a series of commits to increase coverage of deployment
path features with regards to container engine options, env vars
and mounts. This will serve future refactoring efforts.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
with open(basedir / 'unit.run') as f:
runfile_lines = f.read().splitlines()
assert 'podman' in runfile_lines[-1]
+ assert '-e discovery.type=single-node' in runfile_lines[-1]
assert runfile_lines[-1].endswith('quay.io/rubber/elasticsearch:latest')
_firewalld().open_ports.assert_not_called()
assert not (basedir / 'config').exists()