Puppet Class: pulp::install
- Defined in:
- manifests/install.pp
Overview
Pulp Installation 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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'manifests/install.pp', line 3
class pulp::install {
package { ['pulp-server', 'pulp-selinux', 'python-pulp-streamer']: ensure => $pulp::version, }
$python_package_prefix = $facts['os']['release']['major'] ? {
'7' => 'python',
default => 'python2',
}
if $pulp::messaging_transport == 'qpid' {
ensure_packages(["${python_package_prefix}-gofer-qpid"], {
ensure => $pulp::messaging_version,
}
)
}
if $pulp::messaging_transport == 'rabbitmq' {
ensure_packages(["${python_package_prefix}-gofer-amqp"], {
ensure => $pulp::messaging_version,
}
)
}
if $pulp::enable_katello {
package { ['pulp-katello']: ensure => $pulp::version, }
}
if $pulp::enable_parent_node {
package { ['pulp-nodes-parent']: ensure => $pulp::version, }
}
if $pulp::enable_rpm or $pulp::enable_iso {
package { ['pulp-rpm-plugins']: ensure => $pulp::version, }
}
if $pulp::enable_deb {
package { ['pulp-deb-plugins']: ensure => $pulp::version, }
}
if $pulp::enable_docker {
package { ['pulp-docker-plugins']: ensure => $pulp::version, }
}
if $pulp::enable_puppet {
package { ['pulp-puppet-plugins']: ensure => $pulp::version, }
}
if $pulp::enable_python {
package { ['pulp-python-plugins']: ensure => $pulp::version, }
}
if $pulp::enable_ostree {
ensure_packages(['ostree'])
package { ['pulp-ostree-plugins']: ensure => $pulp::version, }
}
}
|