1
2
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# File 'modules/openstack/manifests/keystone/service/victoria/buster.pp', line 1
class openstack::keystone::service::victoria::buster(
Stdlib::Port $public_bind_port,
Stdlib::Port $admin_bind_port,
) {
require ::openstack::serverpackages::victoria::buster
$packages = [
'keystone',
'alembic',
'python-alembic',
'python-amqp',
'python-castellan',
'python-cliff',
'python-cmd2',
'python-concurrent.futures',
'python-cryptography',
'python-dogpile.cache',
'python-eventlet',
'python-funcsigs',
'python-futurist',
'python-jinja2',
'python-jsonschema',
'python-kombu',
'python-memcache',
'python-migrate',
'python-openssl',
'python-pyasn1',
'python-pyinotify',
'python-pymysql',
'python-pyparsing',
'python-routes',
'python-sqlalchemy',
'python-unicodecsv',
'python-warlock',
'ldapvi',
'python-ldap',
'python3-ldappool',
'python3-ldap3',
'ruby-ldap',
'python3-mwclient',
'libapache2-mod-wsgi-py3',
]
package { $packages:
ensure => 'present',
}
# Keystone is managed via apache/wsgi on buster so we don't
# want the systemd unit running.
exec { 'mask_keystone_service':
command => '/bin/systemctl mask keystone.service',
creates => '/etc/systemd/system/keystone.service',
require => Package['keystone'];
}
service {'keystone':
ensure => 'stopped',
require => Package['keystone'];
}
}
|