Project

General

Profile

Download (763 Bytes) Statistics
| Branch: | Tag: | Revision:
require 'spec_helper'

describe 'foreman::plugin::puppetdb' do
on_supported_os.each do |os, facts|
context "on #{os}" do
let :facts do
facts
end

if facts[:operatingsystem] == 'Fedora'
it 'should call the plugin' do
should contain_foreman__plugin('puppetdb').with_package('rubygem-puppetdb_foreman')
end
elsif facts[:osfamily] == 'RedHat'
it 'should call the plugin' do
should contain_foreman__plugin('puppetdb').with_package('tfm-rubygem-puppetdb_foreman')
end
elsif facts[:osfamily] == 'Debian'
it 'should call the plugin' do
should contain_foreman__plugin('puppetdb').with_package('ruby-puppetdb-foreman')
end
end
end
end
end
(11-11/16)