Puppet Class: confdroid_puppet::main::install

Inherits:
confdroid_puppet::params
Defined in:
manifests/main/install.pp

Summary

Class manages package installation for the confdroid_puppet module.

Overview

confdroid_puppet::main::install.pp Module name: confdroid_puppet 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
25
# File 'manifests/main/install.pp', line 6

class confdroid_puppet::main::install (

) inherits confdroid_puppet::params {
  if $fqdn != $pt_pm_fqdn {
    package { $pt_agent_pkg:
      ensure => $pt_pkg_ensure,
    }
  }

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