This commit is contained in:
Henry Wang 2019-12-19 13:56:13 +08:00
parent 66a6a0fc30
commit 29f31ed57b

View File

@ -6,6 +6,7 @@ class controlm::controlm_agent::install inherits controlm::controlm_agent {
augeas { 'controlm':
context => '/files/etc/services',
changes => [
"set service-name ctmagent"
"set service-name [. = 'ctmagent']/port ${s2a_port} ",
"set service-name [. = 'ctmagent']/protocol tcp ",
# "set service-name[port = '${s2a_port}'][protocol = 'udp']/ #comment 'Henry123']",