Skip to content

Commit

Permalink
Add back support for Fedora. Update Test Kitchen test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian C. Dunn committed May 17, 2014
1 parent 3fc4c2f commit d7737e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
21 changes: 10 additions & 11 deletions .kitchen.yml
@@ -1,16 +1,15 @@
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
driver:
name: vagrant

provisioner:
name: chef_zero
require_chef_omnibus: latest

platforms:
- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
- name: centos-5.9
driver_config:
box: opscode-centos-5.9
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box
- name: centos-6.5
- name: centos-5.10
- name: fedora-19
- name: fedora-20

suites:
- name: default
Expand Down
3 changes: 2 additions & 1 deletion recipes/_common.rb
Expand Up @@ -2,7 +2,7 @@
case node[:platform_family]
when %r(debian|ubuntu)
package 'selinux-utils'
when 'rhel'
when 'rhel', 'fedora'
package 'libselinux-utils'
else
# implement support for your platform here!
Expand All @@ -11,6 +11,7 @@

directory '/etc/selinux' do
owner 'root'
group 'root'
mode '0755'
action :create
end

0 comments on commit d7737e2

Please sign in to comment.