8000 Add examples to SELinux State, Fix #1149 · linuxadmin/salt@cfc9fed · GitHub
[go: up one dir, main page]

Skip to content

Commit cfc9fed

Browse files
committed
Add examples to SELinux State, Fix saltstack#1149
1 parent bfa71aa commit cfc9fed

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

salt/states/selinux.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
'''
2-
Manage SELinux booleans and enforcing mode
2+
SELinux Management
3+
==================
4+
5+
If SELinux is available for the running system, the mode can be managed and
6+
booleans can be set.
7+
8+
.. code-block:: yaml
9+
10+
enforcing:
11+
selinux.mode
12+
13+
samba_create_home_dirs:
14+
selinx.boolean:
15+
- value: True
16+
- persist: True
17+
318
'''
419

520
def _refine_mode(mode):

0 commit comments

Comments
 (0)
0