This commit is contained in:
Henry Wang 2019-12-19 12:49:38 +08:00
parent 2a7f8cf959
commit 7b40155531

View File

@ -7,13 +7,13 @@ class controlm::controlm_agent::install inherits controlm::controlm_agent {
context => '/files/etc/services',
changes => [
"set service-name[port = '${s2a_port}'][protocol = 'udp'] ctmagent",
# "set service-name[port = '${s2a_port}'][protocol = 'udp'][#comment 'Control-M server2agent']",
"set service-name[port = '${s2a_port}'][protocol = 'udp'][#comment 'Control-M server2agent']",
"set service-name[port = '${s2a_port}'][protocol = 'tcp'] ctmagent",
# "set service-name[port = '${s2a_port}'][protocol = 'tcp'][#comment 'Control-M server2agent']",
"set service-name[port = '${s2a_port}'][protocol = 'tcp'][#comment 'Control-M server2agent']",
"set service-name[port = '${a2s_port}'][protocol = 'udp'] ctmagent",
# "set service-name[port = '${a2s_port}'][protocol = 'udp']/ #comment 'Control-M agent2servr'",
"set service-name[port = '${a2s_port}'][protocol = 'udp']/ #comment 'Control-M agent2server'",
"set service-name[port = '${a2s_port}'][protocol = 'tcp'] ctmagent",
# "set service-name[port = '${a2s_port}'][protocol = 'tcp']/ #comment 'Control-M agent2server'",
"set service-name[port = '${a2s_port}'][protocol = 'tcp']/ #comment 'Control-M agent2server'",
],
}