require 'spec_helper_acceptance'
-describe 'apt::builddep' do
+describe 'apt::builddep', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do
context 'reset' do
it 'removes packages' do
- shell('apt-get -y remove glusterfs-server')
+ shell('apt-get -y remove znc')
shell('apt-get -y remove g++')
end
end
it 'should work with no errors' do
pp = <<-EOS
include '::apt'
- apt::builddep { 'glusterfs-server': }
+ apt::builddep { 'znc': }
EOS
apply_manifest(pp, :catch_failures => true)
context 'reset' do
it 'removes packages' do
- shell('apt-get -y remove glusterfs-server')
+ shell('apt-get -y remove znc')
shell('apt-get -y remove g++')
end
end