Automatically join the Windows domain
This commit is contained in:
parent
924b02cb25
commit
b970d95f1b
1
top.sls
1
top.sls
@ -18,6 +18,7 @@ base:
|
|||||||
'G@os:Windows':
|
'G@os:Windows':
|
||||||
- enable-wakeonlan
|
- enable-wakeonlan
|
||||||
- windowsWorkstation
|
- windowsWorkstation
|
||||||
|
- windows-domain
|
||||||
- printers
|
- printers
|
||||||
- chocolatey-packages
|
- chocolatey-packages
|
||||||
- removeShortcuts
|
- removeShortcuts
|
||||||
|
8
windows-domain.sls
Normal file
8
windows-domain.sls
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
Join Sawtooth Domain:
|
||||||
|
system.join_domain:
|
||||||
|
- name: sawtooth.claremontmakerspace.org
|
||||||
|
- username: {{ salt['pillar.get']('domainjoin:user') }}
|
||||||
|
- password: {{ salt['pillar.get']('domainjoin:pass') }}
|
||||||
|
|
||||||
|
'gpupdate':
|
||||||
|
cmd.run
|
@ -15,9 +15,6 @@ windowsUpdates:
|
|||||||
wua.uptodate:
|
wua.uptodate:
|
||||||
- drivers: true
|
- drivers: true
|
||||||
|
|
||||||
'gpupdate':
|
|
||||||
cmd.run
|
|
||||||
|
|
||||||
Final Housekeeping:
|
Final Housekeeping:
|
||||||
powercfg.set_timeout: # Reset sleep timeout
|
powercfg.set_timeout: # Reset sleep timeout
|
||||||
- name: standby
|
- name: standby
|
||||||
|
Loading…
Reference in New Issue
Block a user