itamae-plugin-recipe-selinux 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e32cbaa8749628734ca0a6941b7d6bac9759c4c0
4
- data.tar.gz: b2b3b94ad38268be55b582ad70b487e0d1b521e5
3
+ metadata.gz: b648bd1768ad6c6802198267c4b3638c0d0cc131
4
+ data.tar.gz: 8dbafdd73027c200eca4ef97731b56da9f00aae9
5
5
  SHA512:
6
- metadata.gz: 0a7d1e2e8c11c2635444172ed494f01c912360f07a6ce385124c79aaf47ad3384ead6b8e484e25e985d1125fa6571c46e385d4475cd40e817b33dd22f5f63d48
7
- data.tar.gz: 096bfdc128b958fca2da5f30a9aa701e968e4c0bd004de51ca620e42509323bbb26f8681d72d71bd3f35bec36ee41a9d8b0f73ab940b68608d54be32fbcccea4
6
+ metadata.gz: ebf4680cfabb9f294827308d89088d7a3b34023c349d8a022d3fc10a76314b967490718460a092446ecad73b3b78985a6042102cbc7fbaf9777cd6de24ad3fec
7
+ data.tar.gz: 7e3874b6acf289d0ccdbf89e16e10518649796ad4f919bc342e912fec465e4d923e24a31c668eb872e362547ab17cef1aceeaba9c89728c101402ab30d946cd3
@@ -0,0 +1,7 @@
1
+ case os[:family]
2
+ when %r(debian|ubuntu)
3
+ package 'selinux-utils'
4
+ when 'redhat', 'fedora'
5
+ package 'libselinux-utils'
6
+ end
7
+
@@ -1,3 +1,5 @@
1
+ include_recipe 'common.rb'
2
+
1
3
  execute 'setenforce 0' do
2
4
  not_if 'getenforce | grep Disabled'
3
5
  end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Selinux
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-selinux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
@@ -66,6 +66,7 @@ files:
66
66
  - Rakefile
67
67
  - itamae-plugin-recipe-selinux.gemspec
68
68
  - lib/itamae/plugin/recipe/selinux.rb
69
+ - lib/itamae/plugin/recipe/selinux/common.rb
69
70
  - lib/itamae/plugin/recipe/selinux/config.erb
70
71
  - lib/itamae/plugin/recipe/selinux/disabled.rb
71
72
  - lib/itamae/plugin/recipe/selinux/version.rb