ansible/test
Sam Doran e157082f5e Correctly write SELinux config file (#31251)
* Add new lines to end of config file lines

* Properly write out selinux config file

Change module behavior to not always report a change but warn if a reboot is needed and return reboot_required.

Improve the output messages.

Add strip parameter to get_file_lines utility to help with parsing the selinux config file.

* Add return documentation

* Add integration tests for selinux module

* Use consistent capitalization for SELinux

* Use atomic_move in selinux module

* Don't copy the config file initially

There's no need to make a copy just for reading.

* Put message after set_config_policy in case the change fails

* Add aliases to selinux tests

(cherry picked from commit 00df1fda10)
2017-10-03 23:42:33 -04:00
..
compile Docs how to test (2nd) (#24094) 2017-04-28 09:08:26 +01:00
integration Correctly write SELinux config file (#31251) 2017-10-03 23:42:33 -04:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Pin docker simulator versions. 2017-10-02 13:20:10 -07:00
sanity Update elasticsearch_plugin.py (#28936) 2017-10-03 22:30:30 -04:00
units Fix fact failures cause by ordering of collectors (#30777) 2017-09-28 10:56:18 -04:00
utils Divide Windows integration tests into 2 groups. (#29029) 2017-09-05 15:32:26 -07:00