Install bandersnatch under python3
If the bandersnatch source is set to pip3 then install bandersnatch from pip under python3. This will allow us to install latest bandersnatch and use newer features like package blacklisting. Change-Id: I97d8e0ef5a1fb75c513b7f87d6f015f57cd42df6
This commit is contained in:
parent
d364bf6738
commit
1c71224305
|
@ -34,6 +34,11 @@ class bandersnatch (
|
|||
ensure => '1.11',
|
||||
provider => openstack_pip,
|
||||
}
|
||||
elsif ($bandersnatch_source == 'pip3') {
|
||||
package { 'bandersnatch':
|
||||
ensure => 'latest',
|
||||
provider => pip3,
|
||||
}
|
||||
} else {
|
||||
vcsrepo { '/opt/bandersnatch':
|
||||
ensure => latest,
|
||||
|
|
Loading…
Reference in New Issue