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
Salt state to set system runlevel or target #46484
Comments
@craigafinch Thanks for the report. I would suggest taking a look at the |
@garethgreenaway Thank you for your reply. From what I can tell, neither of those modules will accomplish what I want. The |
It would be nice to have the default target managed by the module, but for now the following should work for systemd init systems:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Please reopen. This appears to still be a valid issue. It would be useful to have a state to set the default and current target to be able to enable |
Are there service managers other than |
Description of Issue/Question
I want to write a Salt state that installs and enables a minimal X Windows GUI on a CentOS 7 system. I need a state to ensure that a specific systemd default target has been set for the system. An equivalent command is:
I also can't find a state to manage the legacy System V runlevels. Does such a state exist? If so, I am requesting to improve the documentation, because I searched pretty extensively and couldn't find anything. If it does not exist, please consider this to be a feature request.
Versions Report
The text was updated successfully, but these errors were encountered: