do not manage python-greenlet anymore
Packaging already manages python-greenlet dependency for a while. Stop using Puppet for managing this dependency. Change-Id: Iaba6e499b1185d75930f0e7b0ca587e9f8705e5a
This commit is contained in:
@@ -444,12 +444,6 @@ class nova(
|
||||
|
||||
Nova_config<| |> ~> Exec['post-nova_config']
|
||||
|
||||
# TODO - see if these packages can be removed
|
||||
# they should be handled as package deps by the OS
|
||||
package { 'python-greenlet':
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
if $install_utilities {
|
||||
class { '::nova::utilities': }
|
||||
}
|
||||
@@ -459,9 +453,8 @@ class nova(
|
||||
anchor { 'nova-start': }
|
||||
|
||||
package { 'python-nova':
|
||||
ensure => $ensure_package,
|
||||
require => Package['python-greenlet'],
|
||||
tag => ['openstack'],
|
||||
ensure => $ensure_package,
|
||||
tag => ['openstack'],
|
||||
}
|
||||
|
||||
package { 'nova-common':
|
||||
|
@@ -11,13 +11,9 @@ describe 'nova' do
|
||||
end
|
||||
|
||||
it 'installs packages' do
|
||||
is_expected.to contain_package('python-greenlet').with(
|
||||
:ensure => 'present',
|
||||
)
|
||||
is_expected.to contain_package('python-nova').with(
|
||||
:ensure => 'present',
|
||||
:require => 'Package[python-greenlet]',
|
||||
:tag => ['openstack']
|
||||
:ensure => 'present',
|
||||
:tag => ['openstack']
|
||||
)
|
||||
is_expected.to contain_package('nova-common').with(
|
||||
:name => platform_params[:nova_common_package],
|
||||
|
Reference in New Issue
Block a user