Make sure python3-yaml isn't installed
This is to deal with pip10 issue around python-yaml. | Jul 23 16:52:29 ze11 puppet-user[14344]: (/Stage[main]/Zuul/Exec[install_zuul]/returns) Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. Change-Id: I3f7b209f4b8b5ed7f826369c9f8ad171cb530925 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
7b94b3c7fc
commit
c9b1ba6754
|
@ -116,6 +116,14 @@ class zuul (
|
|||
ensure => present,
|
||||
}
|
||||
|
||||
# NOTE(pabelanger): Due to pip10, we can no longer uninstall system python
|
||||
# packages. Moving forward, we should consider installing zuul into a
|
||||
# virtualenv, or container.
|
||||
package { 'python3-yaml':
|
||||
ensure => absent,
|
||||
before => Exec['install_zuul'],
|
||||
}
|
||||
|
||||
# yappi, pyzmq requires this to build
|
||||
if ! defined(Package['build-essential']) {
|
||||
package { 'build-essential':
|
||||
|
|
Loading…
Reference in New Issue