Weidong Shao 486c596323 Replace cookbooks for IceHouse release
Change-Id: Ibb6bdd3ed7795b86f773f9cb6ce1dfffb9b79faf
2014-08-07 08:36:02 +00:00

25 lines
955 B
Ruby

name "selinux"
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache"
description "Manages SELinux policy state via LWRP or recipes."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.7.2"
%w{redhat centos scientific oracle amazon}.each do |os|
supports os
end
recipe "selinux", "Use LWRP with state attribute to manage SELinux state."
recipe "selinux::enforcing", "Use :enforcing as the action for the selinux_state."
recipe "selinux::permissive", "Use :permissive as the action for the selinux_state."
recipe "selinux::disabled", "Use :disabled as the action for the selinux_state."
attribute "selinux/state",
:display_name => "SELinux State",
:description => "The SELinux policy enforcement state.",
:choices => ["enforcing", "permissive", "disabled"],
:recipes => ["selinux::default"],
:type => "string",
:default => "enforcing"