Puppet Class: pulp::consumer::install

Defined in:
manifests/consumer/install.pp

Overview

Pulp Consumer Install Packages



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
# File 'manifests/consumer/install.pp', line 3

class pulp::consumer::install {
  if $pulp::consumer::messaging_transport == 'qpid' {
    ensure_packages(['python-gofer-qpid'], {
        ensure => $pulp::consumer::messaging_version,
      }
    )
  }

  if $pulp::consumer::messaging_transport == 'rabbitmq' {
    ensure_packages(['python-gofer-amqp'], {
        ensure => $pulp::consumer::messaging_version,
      }
    )
  }

  package { 'gofer':
    ensure => $pulp::consumer::messaging_version,
  }

  package { ['pulp-consumer-client', 'pulp-agent']:
    ensure => $pulp::consumer::version,
  }

  if $pulp::consumer::enable_puppet {
    package { ['pulp-puppet-consumer-extensions', 'pulp-puppet-handlers']:
      ensure => $pulp::consumer::version,
    }
  }

  if $pulp::consumer::enable_nodes {
    package { 'pulp-nodes-consumer-extensions':
      ensure => $pulp::consumer::version,
    }
  }

  if $pulp::consumer::enable_rpm {
    package { ['pulp-rpm-consumer-extensions', 'pulp-rpm-yumplugins', 'pulp-rpm-handlers']:
      ensure => $pulp::consumer::version,
    }
  }
}