Puppet Class: openstack::keystone::hooks

Defined in:
modules/openstack/manifests/keystone/hooks.pp

Overview

Hook keystone notification events for custom

project swizzling

Parameters:



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
# File 'modules/openstack/manifests/keystone/hooks.pp', line 3

class openstack::keystone::hooks(
    String $version,
    String $wsgi_server,
    ) {
    include openstack::designate::makedomain
    include openstack::keystone::service

    file { '/usr/lib/python3/dist-packages/wmfkeystonehooks':
        source  => "puppet:///modules/openstack/${version}/keystone/wmfkeystonehooks",
        owner   => 'root',
        group   => 'root',
        mode    => '0644',
        recurse => true,
        notify  => Service[$wsgi_server],
    }

    file { '/usr/lib/python3/dist-packages/wmfkeystonehooks.egg-info':
        source  => "puppet:///modules/openstack/${version}/keystone/wmfkeystonehooks.egg-info",
        owner   => 'root',
        group   => 'root',
        mode    => '0644',
        recurse => true,
        notify  => Service[$wsgi_server],
    }
}