1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-09 20:50:34 +00:00

added fluentd_install_spec.rb

This commit is contained in:
Max Wilhelm 2015-12-03 19:28:53 +01:00
parent b21e606acb
commit 54431b8542

View File

@ -0,0 +1,22 @@
require 'spec_helper'
describe 'fluentd::install', :type => :class do
let(:facts) {
{
:osfamily => 'Debian',
:lsbdistid => 'Ubuntu',
:operatingsystem => 'Ubuntu',
:lsbdistcodename => 'precise',
}
}
describe 'when called with no parameters on Ubuntu' do
it {
should contain_package('fluentd').with({
'ensure' => 'installed',
'name' => 'td-agent',
'install_options' => []
})
}
end
end