3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'modules/openstack/manifests/clientpackages/caracal/bullseye.pp', line 3
class openstack::clientpackages::caracal::bullseye(
) {
$py3packages = [
'python3-novaclient',
'python3-glanceclient',
'python3-keystoneauth1',
'python3-keystoneclient',
# Openstacksdk is needed only to ensure the patch to it is applied in order
# once the patch is not needed can be removed
'python3-openstacksdk',
'python3-openstackclient',
'python3-troveclient',
'python3-designateclient',
'python3-neutronclient',
'python3-osc-placement',
'python3-tenacity',
]
ensure_packages($py3packages + ['patch'])
file { '/usr/lib/python3/dist-packages/mwopenstackclients.py':
ensure => 'present',
source => 'puppet:///modules/openstack/clientpackages/mwopenstackclients.py',
mode => '0755',
owner => 'root',
group => 'root',
}
openstack::patch { '/usr/lib/python3/dist-packages/openstack/config/loader.py':
source => 'puppet:///modules/openstack/caracal/openstacksdk/hacks/allow_overriding_cloud_yaml.bullseye.patch',
require => Package['python3-openstacksdk'],
}
}
|