From bc3ce38bb177a0c6ef09098951fd3b5f1b3929a1 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Mon, 2 Mar 2015 11:24:17 -0800 Subject: [PATCH] Remove require relationship on python The python package declaration was removed in 11fe6a76, so the require relationship between python-greenlet and the python package is no longer needed and causes errors. The python-greenlet package will have python as a dependency if it is not already installed, so there is no reason to make this relationship explicit. Change-Id: I783a3a0b1d305a491e710621acd26f55b5979a90 --- manifests/init.pp | 1 - spec/classes/nova_init_spec.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 59ccfb6ee..835abe62b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -384,7 +384,6 @@ class nova( # they should be handled as package deps by the OS package { 'python-greenlet': ensure => present, - require => Package['python'], } if $install_utilities { diff --git a/spec/classes/nova_init_spec.rb b/spec/classes/nova_init_spec.rb index adb0fb69f..58c25d497 100644 --- a/spec/classes/nova_init_spec.rb +++ b/spec/classes/nova_init_spec.rb @@ -9,7 +9,6 @@ describe 'nova' do it 'installs packages' do should contain_package('python-greenlet').with( :ensure => 'present', - :require => 'Package[python]' ) should contain_package('python-nova').with( :ensure => 'present',