Skip to content

Commit

Permalink
clearn up markdown lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ywei2017 committed Jun 7, 2024
1 parent 1ade4bd commit f133d08
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions documentation/selinux_boolean.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Back to resource list](../README.md#resources)

# selinux_boolean

[Back to resource list](../README.md#resources)

Set SELinux boolean values.

Introduced: v4.0.0
Expand Down
4 changes: 2 additions & 2 deletions documentation/selinux_fcontext.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Back to resource list](../README.md#resources)

# selinux_fcontext

[Back to resource list](../README.md#resources)

Set the SELinux context of files with `semanage fcontext`.

## Actions
Expand Down
3 changes: 2 additions & 1 deletion documentation/selinux_install.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# selinux_install

[Back to resource list](../README.md#resources)

# selinux_install

Check failure on line 5 in documentation/selinux_install.md

View workflow job for this annotation

GitHub Actions / lint-unit / markdownlint-cli2

Multiple consecutive blank lines

documentation/selinux_install.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
The `selinux_install` resource is used to encapsulate the set of selinux packages to install in order to manage selinux. It also ensures the directory `/etc/selinux` is created.

Expand Down
3 changes: 2 additions & 1 deletion documentation/selinux_login.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# selinux_login

[Back to resource list](../README.md#resources)

# selinux_login

Check failure on line 5 in documentation/selinux_login.md

View workflow job for this annotation

GitHub Actions / lint-unit / markdownlint-cli2

Multiple consecutive blank lines

documentation/selinux_login.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
The `selinux_login` resource is used to manage Linux user to SELinux user mappings on the system.

Expand Down
4 changes: 2 additions & 2 deletions documentation/selinux_module.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Back to resource list](../README.md#resources)

# selinux_module

[Back to resource list](../README.md#resources)

Create an SELinux module from a cookfile file or content provided as a string.

Introduced: v4.0.0
Expand Down
4 changes: 2 additions & 2 deletions documentation/selinux_permissive.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Back to resource list](../README.md#resources)

# selinux_permissive

[Back to resource list](../README.md#resources)

Allows some types to misbehave without stopping them. Not as good as specific policies, but better than disabling SELinux entirely.

> This does not set the SELinux state to permissive! Use [`selinux_state`](selinux_state.md) for that.
Expand Down
4 changes: 2 additions & 2 deletions documentation/selinux_port.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Back to resource list](../README.md#resources)

# selinux_port

[Back to resource list](../README.md#resources)

Allows assigning a network port to a certain SELinux context, e.g. for running a webserver on a non-standard port.

## Actions
Expand Down
4 changes: 2 additions & 2 deletions documentation/selinux_state.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# `selinux_state` Cookbook
# selinux_state

[Back to resource list](../README.md#resources)

# selinux_state

Check failure on line 5 in documentation/selinux_state.md

View workflow job for this annotation

GitHub Actions / lint-unit / markdownlint-cli2

Multiple consecutive blank lines

documentation/selinux_state.md:5 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md012.md
The `selinux_state` resource is used to manage the SELinux state on the system. It does this by using the `setenforce` command and rendering the `/etc/selinux/config` file from a template.

Expand Down
5 changes: 2 additions & 3 deletions documentation/selinux_user.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# `selinux_user` Cookbook
[Back to resource list](../README.md#resources)

# selinux_user

[Back to resource list](../README.md#resources)

The `selinux_user` resource is used to manage SELinux users on the system.

## Actions
Expand Down

0 comments on commit f133d08

Please sign in to comment.