Puppet Class: openstack::clientpackages::common

Defined in:
modules/openstack/manifests/clientpackages/common.pp

Overview



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
# File 'modules/openstack/manifests/clientpackages/common.pp', line 1

class openstack::clientpackages::common(
) {
    $py2packages = [
        'python-novaclient',
        'python-glanceclient',
        'python-keystoneclient',
        'python-openstackclient',
        'python-designateclient',
        'python-neutronclient',
    ]

    package{ $py2packages:
        ensure => 'present',
    }

    $otherpackages = [
        'ebtables',
        'python-netaddr',
    ]

    package { $otherpackages:
        ensure => 'present',
    }

    # Wrapper python class to easily query openstack clients
    file { '/usr/lib/python2.7/dist-packages/mwopenstackclients.py':
        ensure => 'present',
        source => 'puppet:///modules/openstack/clientpackages/mwopenstackclients.py',
        mode   => '0755',
        owner  => 'root',
        group  => 'root',
    }

    # Functions to create or delete designate domains under .wmflabs.org
    file { '/usr/lib/python2.7/dist-packages/designatemakedomain.py':
        ensure => 'present',
        source => 'puppet:///modules/openstack/clientpackages/designatemakedomain.py',
        mode   => '0755',
        owner  => 'root',
        group  => 'root',
    }
}