control-repo/site-modules/controlm/manifests/controlm_agent/firewall.pp
Henry Wang 4e06b1eb56 E37467
2019-12-19 10:17:49 +08:00

17 lines
391 B
Puppet

class controlm::controlm_agent::firewall inherits controlm::controlm_agent {
firewall { '200 controlm tracker port hiera controlm_tracker_port':
action => 'accept',
proto => 'tcp',
dport => [$tracker_port],
}
firewall { '210 controlm server to agent hiera controlm_server2agent_port':
action => 'accept',
proto => 'tcp',
dport => [$s2a_port],
}
}