Skip to content

Commit

Permalink
Add deprecation notice (#154)
Browse files Browse the repository at this point in the history
Signed-off-by: detjensrobert <github@detjens.dev>
  • Loading branch information
detjensrobert authored Aug 7, 2022
1 parent 336e0ae commit 0a056e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file is used to changes made in each version of the selinux_policy cookbook.

## Unreleased

- Add deprecation notice to README

## 2.4.3 (2020-08-07)

- Ship the correct license file since this cookbook was relicensed - [@tas50](https://github.com/tas50)
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

This cookbook can be used to manage SELinux policies and components (rather than just enable / disable enforcing). I made it because I needed some SELinux settings done, and the `execute`s started to look annoying.

> ## ⚠ This cookbook is deprecated ⚠
>
> Use the [`selinux` cookbook](https://github.com/sous-chefs/selinux) instead. That cookbook has all the resources that this cookbook does, and is properly tested on current platforms. This cookbook is no longer maintained.
>
> For more context, see sous-chefs/selinux#79.
## Requirements

Needs an SELinux policy active (so its values can be managed). Can work with a disabled SELinux system (see attribute `allow_disabled`), which will generate warnings and do nothing (but won't break the run). Also requires SELinux's management tools, namely `semanage`, `setsebool` and `getsebool`. Tools are installed by the `selinux_policy::install` recipe (for RHEL/Debian and the like).
Expand Down Expand Up @@ -206,4 +212,4 @@ end

## Original Author

[Nitzan Raz](https://github.com/BackSlasher) ([backslasher](http://backslasher.net))
[Nitzan Raz](https://github.com/BackSlasher) ([backslasher](http://backslasher.net))

0 comments on commit 0a056e0

Please sign in to comment.