New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible supports ZTE's Operating System os-release #54160
Conversation
Signed-off-by: CaiJiYan <cai.jiyan@zte.com.cn>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Thanks for adding support for ZTE to Ansibe's facts systems.
We have some unit tests for this in test/units/module_utils/test_distribution_version.py
You can run them locally by running the following command from your checkout
bin/ansible-test units -v --docker default test/units/module_utils/test_distribution_version.py
The test
|
The test
|
del 259 blank line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need an entry in OS_FAMILY_MAP
in the Distribution
class. Please add unit tests with example data from /etc/cgsl-release
. Look at test/units/module_utils/test_distribution_version.py
for examples. You can run hacking/tests/gen_distribution_version_testcase.py
to generate test data.
entry in OS_FAMILY_MAP in the Distribution class add 'NewStart',
test/units/module_utils/test_distribution_version.py add
gundalow: Edit to add code block formatting |
@Sasocai Are you still working on this, let us know ? Thanks, needs_info |
@Sasocai This pullrequest is waiting for your response. Please respond or the pullrequest will be closed. |
@Sasocai You have not responded to information requests in this pullrequest so we will assume it no longer affects you. If you are still interested in this, please create a new pullrequest with the requested information. |
Signed-off-by: CaiJiYan cai.jiyan@zte.com.cn
SUMMARY
adds support for NewStart
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
lib/ansible/module_utils/facts/system/distribution.py