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 current bandersnatch and use newer features like package blacklisting. Change-Id: I97d8e0ef5a1fb75c513b7f87d6f015f57cd42df6
This commit is contained in:
parent
d364bf6738
commit
546a73ba0c
@ -34,6 +34,11 @@ class bandersnatch (
|
|||||||
ensure => '1.11',
|
ensure => '1.11',
|
||||||
provider => openstack_pip,
|
provider => openstack_pip,
|
||||||
}
|
}
|
||||||
|
} elsif ($bandersnatch_source == 'pip3') {
|
||||||
|
package { 'bandersnatch':
|
||||||
|
ensure => '2.2.0',
|
||||||
|
provider => pip3,
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
vcsrepo { '/opt/bandersnatch':
|
vcsrepo { '/opt/bandersnatch':
|
||||||
ensure => latest,
|
ensure => latest,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user