compute/hypervisor: ensure DBUS runs also on Debian

... and not only on Ubuntu.
It's a new dependency in OpenStack Juno (in Debian packaging).

Change-Id: I05fe1765674d77f46c8bb776a9833eaf1755a334
This commit is contained in:
Emilien Macchi 2015-01-20 09:49:35 -05:00
parent e3ff1bd6a5
commit 436f56b4ef
2 changed files with 2 additions and 3 deletions

View File

@ -301,7 +301,7 @@ Host *
})
}
if $::operatingsystem == 'Ubuntu' {
if $::osfamily == 'Debian' {
service { 'dbus':
ensure => running,
enable => true,

View File

@ -255,10 +255,9 @@ describe 'cloud::compute::hypervisor' do
end
end
context 'with dbus on Ubuntu' do
context 'with dbus on Debian/Ubuntu' do
let :facts do
{ :osfamily => 'Debian',
:operatingsystem => 'Ubuntu',
:vtx => true,
}
end