Reputation: 10281
My windows.sls
works great when I run salt '*' state.highstate
. How do I also make sure that machines get Remote Desktop enabled via this sls file?
# windows.sls
windows:
pkg.installed:
- pkgs:
- rdcman
Here's the salt.module.rdp documentation. I just can't figure out how I can define it in my windows.sls
state.
Upvotes: 0
Views: 354
Reputation: 5932
You can call any module from a state file using the module.run
state.
The following should do the job (sorry I didn't test this, I don't have a windows server running salt here):
enable_rdp:
module.run:
- name: rdp.enable
Upvotes: 0