aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/puppet.pp
blob: b53c726e52062e911898908c7084a73431b20de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class shorewall::rules::puppet {
  case $shorewall_puppetserver {
    '': { $shorewall_puppetserver = "puppet.${domain}" } 
  }
  case $shorewall_puppetserver_port {
    '': { $shorewall_puppetserver_port = '8140' }
  }
  case $shorewall_puppetserver_signport {
    '': { $shorewall_puppetserver_signport = '8141' }
  }
  shorewall::params{
        'PUPPETSERVER':             value => $shorewall_puppetserver;
        'PUPPETSERVER_PORT':        value => $shorewall_puppetserver_port;
        'PUPPETSERVER_SIGN_PORT':   value => $shorewall_puppetserver_signport;
  }
}