Merge "Fix package dependency to be on title instead of name"
This commit is contained in:
commit
c191303e6b
@ -56,7 +56,7 @@ define nova::generic_service(
|
||||
name => $service_name,
|
||||
enable => $enabled,
|
||||
hasstatus => true,
|
||||
require => [Package['nova-common'], Package[$package_name]],
|
||||
require => [Package['nova-common'], Package[$nova_title]],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -80,6 +80,8 @@ describe 'nova::vncproxy' do
|
||||
:ensure => 'present'
|
||||
)}
|
||||
|
||||
it { is_expected.to compile.with_all_deps }
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -26,7 +26,7 @@ describe 'nova::generic_service' do
|
||||
'name' => 'food',
|
||||
'ensure' => 'running',
|
||||
'enable' => true,
|
||||
'require' => ['Package[nova-common]', 'Package[foo]']
|
||||
'require' => ['Package[nova-common]', 'Package[nova-foo]']
|
||||
)}
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user