Skip to content

Commit 746c7f4

Browse files
committed
Added example and instructions for Windows Admins
1 parent 66765d8 commit 746c7f4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

salt/states/win_servermanager.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,21 @@ def installed(name, recurse=False, force=False):
2828
Note:
2929
Some features requires reboot after un/installation, if so until the server is restarted
3030
Other features can not be installed !
31+
32+
Example:
33+
34+
Run ``salt MinionName win_servermanager.list_available`` to get a list of available roles and features, use
35+
the name in the right column. Do not use the role or features names mentioned in the PKGMGR documentation. In
36+
this example for IIS-WebServerRole the name to be used is Web-Server.
37+
38+
.. code-block:: yaml
39+
40+
ISWebserverRole:
41+
win_servermanager.installed:
42+
- force: True
43+
- recurse: True
44+
- name: Web-Server
45+
3146
'''
3247
ret = {'name': name,
3348
'result': True,

0 commit comments

Comments
 (0)