mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-01-05 13:20:36 +00:00
Fix tests for Puppet 4
This commit is contained in:
parent
9754e64490
commit
75a537432c
@ -27,6 +27,7 @@ describe 'fluentd::config', :type => :class do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ describe 'fluentd::install', :type => :class do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
include_examples 'when called with no parameters'
|
include_examples 'when called with no parameters'
|
||||||
|
@ -9,6 +9,7 @@ describe 'fluentd::repo', :type => :class do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
it {
|
it {
|
||||||
|
@ -20,6 +20,7 @@ describe 'fluentd::config', :type => :class do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ describe 'fluentd', :type => :class do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ describe 'fluentd::user', :type => :class do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ describe 'fluentd::filter' do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let(:pre_condition) { 'include fluentd' }
|
let(:pre_condition) { 'include fluentd' }
|
||||||
|
@ -7,6 +7,7 @@ describe 'fluentd::match' do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let(:pre_condition) { 'include fluentd' }
|
let(:pre_condition) { 'include fluentd' }
|
||||||
|
@ -7,6 +7,7 @@ describe 'fluentd::plugin' do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let(:pre_condition) { 'include fluentd' }
|
let(:pre_condition) { 'include fluentd' }
|
||||||
|
@ -7,6 +7,7 @@ describe 'fluentd::source' do
|
|||||||
:lsbdistid => 'Ubuntu',
|
:lsbdistid => 'Ubuntu',
|
||||||
:operatingsystem => 'Ubuntu',
|
:operatingsystem => 'Ubuntu',
|
||||||
:lsbdistcodename => 'precise',
|
:lsbdistcodename => 'precise',
|
||||||
|
:architecture => 'amd64',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let(:pre_condition) { 'include fluentd' }
|
let(:pre_condition) { 'include fluentd' }
|
||||||
|
Loading…
Reference in New Issue
Block a user