Skip to content
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

Account for sysvinit in SLE11. #126

Merged
merged 1 commit into from
Aug 22, 2018
Merged

Account for sysvinit in SLE11. #126

merged 1 commit into from
Aug 22, 2018

Conversation

smarlowucf
Copy link
Collaborator

  • Testinfra has bugs that fail for SUSE.
    • Fix the location of rc?.d dirs.
    • Fix service command to run as root via sudo.
  • Remove .service from names to handle SysV names.
    • testinfra automagically adds .service to name if necessary for systemctl.
  • Update check_service to allow None for args. This always passes. I.e. if you only want to check if a service is enabled and it can be running or stopped.

- Testinfra has bugs that fail for SUSE.
  - Fix the location of rc?.d dirs.
  - Fix service command to run as root via sudo.
- Remove .service from names to handle SysV names.
  - testinfra automagically adds .service to name if necessary
    for systemctl.
- Update check_service to allow None for args. This always passes.
  I.e. if you only want to check if a service is enabled and it
  can be running or stopped.
@rjschwei rjschwei merged commit 4f89e83 into master Aug 22, 2018
@rjschwei
Copy link
Collaborator

Thanks, but SLES 11 was not really a target. There are no more service packs and SLES 11 will be gone away in about 7 months. So please don;t spend any more efforts on SLES 11.

@smarlowucf smarlowucf deleted the sysvinit-services branch August 22, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants