# Puppet Class: puppet_cd::main::config

Inherits:
  puppet_cd::params

Defined in:
  manifests/main/config.pp

## Summary

Class manages main logic for the puppet_cd module.

## Overview

puppet_cd::main::config.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

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

    class puppet_cd::main::config (

    ) inherits puppet_cd::params {
      include puppet_cd::server::service

      if $pt_use_puppetdb == true {
        include puppet_cd::puppetdb::service
      }

      if $pt_use_r10k == true {
        include puppet_cd::r10k::install
        include puppet_cd::r10k::webhook
      }
    }