tststs
This commit is contained in:
parent
29f31ed57b
commit
167691cdd2
@ -6,7 +6,8 @@ class controlm::controlm_agent::install inherits controlm::controlm_agent {
|
|||||||
augeas { 'controlm':
|
augeas { 'controlm':
|
||||||
context => '/files/etc/services',
|
context => '/files/etc/services',
|
||||||
changes => [
|
changes => [
|
||||||
"set service-name ctmagent"
|
"ins service-name after service-name[last()]",
|
||||||
|
"set service-name[last()] ctmagent"
|
||||||
"set service-name [. = 'ctmagent']/port ${s2a_port} ",
|
"set service-name [. = 'ctmagent']/port ${s2a_port} ",
|
||||||
"set service-name [. = 'ctmagent']/protocol tcp ",
|
"set service-name [. = 'ctmagent']/protocol tcp ",
|
||||||
# "set service-name[port = '${s2a_port}'][protocol = 'udp']/ #comment 'Henry123']",
|
# "set service-name[port = '${s2a_port}'][protocol = 'udp']/ #comment 'Henry123']",
|
||||||
|
Loading…
Reference in New Issue
Block a user