Changeset - fb5e4e372902
14
1
17
MAR-128: Upgraded tests for mail_forwarder role:
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Rearranged IP addresses for test instances a bit.
- Expanded on available hosts for testing all OS/paramter
combinations.
- Switched to using a more resilient way to populate /etc/hosts during
prepartion phase.
- Expanded connectivity tests to include all the introduced hosts.
- Switch to new Molecule configuration.
- Updated set-up playbook to use become: yes.
- Moved some preparatory steps outside of the main playbook (eases
idempotence tests).
- Updated tests to reference the yml inventory file.
- Updated tests to use new fixture (host instead of individual ones).
- Switched to extracting hostname instead of hard-coding it in a
couple of tests.
- Fixed some linting issues.
- Rearranged IP addresses for test instances a bit.
- Expanded on available hosts for testing all OS/paramter
combinations.
- Switched to using a more resilient way to populate /etc/hosts during
prepartion phase.
- Expanded connectivity tests to include all the introduced hosts.
21 files changed with 466 insertions and 249 deletions:
0 comments (0 inline, 0 general)
file renamed from roles/mail_forwarder/tests/data/main.cf to roles/mail_forwarder/molecule/default/tests/data/main.cf |
file renamed from roles/mail_forwarder/tests/data/x509/ca.cert.pem to roles/mail_forwarder/molecule/default/tests/data/x509/ca.cert.pem |
file renamed from roles/mail_forwarder/tests/data/x509/ca.key.pem to roles/mail_forwarder/molecule/default/tests/data/x509/ca.key.pem |
roles/mail_forwarder/molecule/default/tests/data/x509/mail-server_smtp.cert.pem
Show inline comments
file renamed from roles/mail_forwarder/tests/data/x509/mail-server_smtp.cert.pem to roles/mail_forwarder/molecule/default/tests/data/x509/mail-server_smtp.cert.pem |
roles/mail_forwarder/molecule/default/tests/data/x509/mail-server_smtp.key.pem
Show inline comments
file renamed from roles/mail_forwarder/tests/data/x509/mail-server_smtp.key.pem to roles/mail_forwarder/molecule/default/tests/data/x509/mail-server_smtp.key.pem |
file renamed from roles/mail_forwarder/tests/data/x509/truststore.pem to roles/mail_forwarder/molecule/default/tests/data/x509/truststore.pem |
0 comments (0 inline, 0 general)