## puppet_cd::main::config.pp
# Module name: puppet_cd
# Author: Arne Teuke (arne_teuke@confdroid)
# @summary  Class manages main logic for the puppet_cd module.
###############################################################################
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
  }
}
