You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitogen/tests/ansible/lib/modules
David Wilson 2ad0d0521d ansible: reload /etc/resolv.conf for each task.
The OpenShift installer modifies /etc/resolv.conf then tests the new
resolver configuration, however, there was no mechanism to reload
resolv.conf in our reuseable interpreter.

https://github.com/openshift/openshift-ansible/blob/release-3.9/roles/openshift_web_console/tasks/install.yml#L137

This inserts an explicit call to res_init() for every new style
invocation, with an approximate cost of ~1usec on Linux since glibc
verifies resolv.conf has changed before reloading it.

There is little to be done for users of the thread-safe resolver APIs,
their state is hidden from us. If bugs like that manifest, whack-a-mole
style 'del sys.modules[thatmod]' patches may suffice.
7 years ago
..
bash_return_paths.sh issue #164: rename lib/modules 7 years ago
custom_bash_old_style_module.sh issue #195: handle non-ASCII scripts in runner.py. 7 years ago
custom_bash_want_json_module.sh issue #164: rename lib/modules 7 years ago
custom_binary_single_null issue #164: rename lib/modules 7 years ago
custom_perl_json_args_module.pl issue #164: rename lib/modules 7 years ago
custom_perl_want_json_module.pl issue #164: rename lib/modules 7 years ago
custom_python_detect_environment.py issue #199: ansible: stop writing temp files for new style modules 7 years ago
custom_python_external_module.py issue #217: tests: import (unused) module_utils tests. 7 years ago
custom_python_external_pkg.py issue #217: tests: import (unused) module_utils tests. 7 years ago
custom_python_json_args_module.py issue #164: rename lib/modules 7 years ago
custom_python_leaky_class_vars.py tests: clean up remaining reg tests 7 years ago
custom_python_new_style_missing_interpreter.py tests: more ansible fixes from recent brakage. 7 years ago
custom_python_new_style_module.py tests: more ansible fixes from recent brakage. 7 years ago
custom_python_want_json_module.py issue #164: rename lib/modules 7 years ago
mitogen_test_gethostbyname.py ansible: reload /etc/resolv.conf for each task. 7 years ago