Unverified Commit bb3aa2eb authored by Tim Smith's avatar Tim Smith
Browse files

Add RHEL 7.1 spec


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 3d8c0de4
......@@ -2,7 +2,7 @@ require 'spec_helper'
describe_recipe 'ark::default' do
def node_attributes
{ platform: 'ubuntu', platform_family: 'debian', version: '14.04' }
{ platform: 'ubuntu', platform_family: 'debian', version: '16.04' }
end
let(:expected_packages) do
......
......@@ -2,7 +2,7 @@ require 'spec_helper'
describe_recipe 'ark::default' do
def node_attributes
{ platform: 'freebsd', version: '10.2' }
{ platform: 'freebsd', version: '10.3' }
end
let(:expected_packages) do
......
......@@ -2,7 +2,7 @@ require 'spec_helper'
describe_recipe 'ark::default' do
def node_attributes
{ platform: 'redhat', platform_family: 'rhel', version: '6.5' }
{ platform: 'redhat', platform_family: 'rhel', version: '6.6' }
end
let(:expected_packages) do
......@@ -15,3 +15,19 @@ describe_recipe 'ark::default' do
end
end
end
describe_recipe 'ark::default' do
def node_attributes
{ platform: 'redhat', platform_family: 'rhel', version: '7.1' }
end
let(:expected_packages) do
%w( libtool autoconf unzip rsync make gcc xz bzip2 tar )
end
it 'installs core packages' do
expected_packages.each do |package|
expect(chef_run).to install_package(package)
end
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment