This commit is contained in:
Henry Wang 2019-12-19 13:13:51 +08:00
parent 96de221721
commit ad997e64fb

View File

@ -6,13 +6,13 @@ class controlm::controlm_agent::install inherits controlm::controlm_agent {
augeas { 'controlm':
context => '/files/etc/services',
changes => [
"set service-name[port = '${s2a_port}'][protocol = 'udp'][alias = 'test'][#comment = "test123"] ctmagent",
"set service-name[port = '${s2a_port}'][protocol = 'udp'][alias = 'test']ctmagent",
# "set service-name[port = '${s2a_port}'][protocol = 'udp']/ #comment 'Henry123']",
"set service-name[port = '${s2a_port}'][protocol = 'tcp'][alias = 'test'][#comment = "test123"] ctmagent",
"set service-name[port = '${s2a_port}'][protocol = 'tcp'][alias = 'test'] ctmagent",
# "set service-name[port = '${s2a_port}'][protocol = 'tcp']/ #comment 'Henry234']",
"set service-name[port = '${a2s_port}'][protocol = 'udp'][alias = 'test'][#comment = "test123"] ctmagent",
"set service-name[port = '${a2s_port}'][protocol = 'udp'][alias = 'test'] ctmagent",
# "set service-name[port = '${a2s_port}'][protocol = 'udp']/ #comment 'Henry345'",
"set service-name[port = '${a2s_port}'][protocol = 'tcp'][alias = 'test'][#comment = "test123"] ctmagent",
"set service-name[port = '${a2s_port}'][protocol = 'tcp'][alias = 'test'] ctmagent",
# "set service-name[port = '${a2s_port}'][protocol = 'tcp']/ #comment 'Henry456'",
],
}