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: []
salt.states.win_system.
computer_desc
(name)¶Manage the computer's description field
salt.states.win_system.
computer_name
(name)¶Manage the computer's name
salt.states.win_system.
hostname
(name)¶New in version 2016.3.0.
Manage the hostname of the computer
salt.states.win_system.
join_domain
(name, username=None, password=None, account_ou=None, account_exists=False, restart=False)¶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: myaccount@mydomain.local.com
- password: mysecretpassword
- restart: True
salt.states.win_system.
reboot
(name, message=None, timeout=5, force_close=True, in_seconds=False, only_on_pending_reboot=True)¶Reboot the computer
Parameters: |
|
---|
salt.states.win_system.
shutdown
(name, message=None, timeout=5, force_close=True, reboot=False, in_seconds=False, only_on_pending_reboot=False)¶Shutdown the computer
Parameters: |
|
---|