Project

General

Profile

« Previous | Next » 

Revision f4ca4c49

Added by Ewoud Kohl van Wijngaarden about 7 years ago

Refactor pulp::child

This commit factors out the Apache vhost to a separate class. It also
makes all used variables explicit in the local scope. This simplifies
testing and additional coverage has been added.

View differences:

manifests/child/install.pp
# Pulp Node Install Packages
class pulp::child::install {
package { ['pulp-katello', 'pulp-nodes-child', 'katello-agent']:
class pulp::child::install (
$packages = ['pulp-katello', 'pulp-nodes-child', 'katello-agent'],
) {
package { $packages:
ensure => installed,
}
}

Also available in: Unified diff