29 lines
669 B
Puppet
29 lines
669 B
Puppet
## puppet_cd::main::config.pp
|
|
# Module name: puppet_cd
|
|
# Author: Arne Teuke (arne_teuke@confdroid)
|
|
# @summary Class manages parameters for the puppet_cd module.
|
|
###############################################################################
|
|
class puppet_cd::main::config (
|
|
|
|
) inherits puppet_cd::params {
|
|
|
|
|
|
if $facts['fqdn'] == $server_facts['servername'] {
|
|
notify { "This is the Puppet master node": }
|
|
}
|
|
|
|
#if $fqdn == $pt_puppetmaster {
|
|
# notify {"Me Puppetmasster":}
|
|
#}
|
|
|
|
#if $fqdn != $pt_puppetmaster {
|
|
# notify {"BAA":}
|
|
#}
|
|
|
|
# Notify the node's FQDN
|
|
#notify { "This node's FQDN is ${facts['fqdn']}": }
|
|
|
|
notify { " FQDN is ${fqdn}": }
|
|
|
|
}
|