New in version 2014.1.0.
This state is used to manage system information such as the computer name and description.
ERIK-WORKSTATION: system.computer_name: [] This is Erik's computer, don't touch!: system.computer_desc: []
Manage the computer's description field
Manage the computer's name
New in version 2016.3.0.
Manage the hostname of the computer
Checks if a computer is joined to the Domain. If the computer is not in the Domain, it will be joined.
Parameters: |
|
---|
Example:
join_to_domain: system.join_domain: - name: mydomain.local.com - username: [email protected] - password: mysecretpassword - restart: True
Reboot the computer
Parameters: |
|
---|
Shutdown the computer
Parameters: |
|
---|
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.win_system.html