# Puppet Class: puppet_cd::main::install

Inherits:
  puppet_cd::params

Defined in:
  manifests/main/install.pp

## Summary

Class manages package installation for the puppet_cd module.

## Overview

puppet_cd::main::install.pp Module name: puppet_cd Author: Arne Teuke (arne_teuke@confdroid)

    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24

    # File 'manifests/main/install.pp', line 6

    class puppet_cd::main::install (

    ) inherits puppet_cd::params {
      package { $pt_agent_pkg:
        ensure => $pt_pkg_ensure,
      }

      if $fqdn == $pt_pm_fqdn {
        package { $pt_server_pkg:
          ensure => $pt_pkg_ensure,
        }
      }

      if $fqdn == $pt_db_fqdn {
        package { $pt_db_pkg:
          ensure  => $pt_pkg_ensure,
        }
      }
    }