itamae-plugin-recipe-selinux 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -2
- data/lib/itamae/plugin/recipe/selinux.rb +0 -11
- data/lib/itamae/plugin/recipe/selinux/common.rb +1 -2
- data/lib/itamae/plugin/recipe/selinux/enforcing.rb +10 -0
- data/lib/itamae/plugin/recipe/selinux/permissive.rb +10 -0
- data/lib/itamae/plugin/recipe/selinux/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d06e6ce3b8032fe2afb107a7c13c48ff70fd0078
|
4
|
+
data.tar.gz: 29991c92b7ba7ba5bf679cf1b9186c2e48efc80d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d51df84bc60e2340dceae22b8998893ff445c2c0a56920033741ed213445b0f9fdbabb9bbb35c15a93bc21259bab8ce4102320d8b0361bf5dcc02cc7be35dc68
|
7
|
+
data.tar.gz: d6a5e5fb6530aabbe5bdb85c1ef0566a442d814edb6ee6fba1661f154595855d2c3e3531c4739fcba412107d7d6e7fd3bcf5456b918682ca3a1be905c2999245
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Itamae::Plugin::Recipe::Selinux
|
2
2
|
|
3
|
-
|
3
|
+
This is [Itamae](https://github.com/ryotarai/itamae) recipe plugin for controlling SELinux.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,24 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
To make SELinux disabled, write this line in your recipe.
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
include_recipe 'selinux::disabled'
|
25
|
+
```
|
26
|
+
|
27
|
+
To make SELinux permissive, write this line in your recipe.
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
include_recipe 'selinux::permissive'
|
31
|
+
```
|
32
|
+
|
33
|
+
To make SELinux enforcing, write this line in your recipe.
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
include_recipe 'selinux::enforcing'
|
37
|
+
```
|
38
|
+
|
22
39
|
|
23
40
|
## Contributing
|
24
41
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-selinux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -69,6 +69,8 @@ files:
|
|
69
69
|
- lib/itamae/plugin/recipe/selinux/common.rb
|
70
70
|
- lib/itamae/plugin/recipe/selinux/config.erb
|
71
71
|
- lib/itamae/plugin/recipe/selinux/disabled.rb
|
72
|
+
- lib/itamae/plugin/recipe/selinux/enforcing.rb
|
73
|
+
- lib/itamae/plugin/recipe/selinux/permissive.rb
|
72
74
|
- lib/itamae/plugin/recipe/selinux/version.rb
|
73
75
|
homepage: ''
|
74
76
|
licenses:
|