diff --git a/site-modules/controlm/manifests/controlm_agent/install.pp b/site-modules/controlm/manifests/controlm_agent/install.pp index 9baf982..659ac8b 100644 --- a/site-modules/controlm/manifests/controlm_agent/install.pp +++ b/site-modules/controlm/manifests/controlm_agent/install.pp @@ -6,14 +6,14 @@ class controlm::controlm_agent::install inherits controlm::controlm_agent { augeas { 'controlm': context => '/files/etc/services', changes => [ - "set service-name[port = '${s2a_port}'][protocol = 'udp'] ctmagent", - "set service-name[port = '${s2a_port}'][protocol = 'udp']/ #comment 'Henry123']", - "set service-name[port = '${s2a_port}'][protocol = 'tcp'] ctmagent", - "set service-name[port = '${s2a_port}'][protocol = 'tcp']/ #comment 'Henry234']", - "set service-name[port = '${a2s_port}'][protocol = 'udp'] ctmagent", - "set service-name[port = '${a2s_port}'][protocol = 'udp']/ #comment 'Henry345'", - "set service-name[port = '${a2s_port}'][protocol = 'tcp'] ctmagent", - "set service-name[port = '${a2s_port}'][protocol = 'tcp']/ #comment 'Henry456'", + "set service-name[port = '${s2a_port}'][protocol = 'udp'][alias = 'test'][#comment = "test123"] 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']/ #comment 'Henry234']", + "set service-name[port = '${a2s_port}'][protocol = 'udp'][alias = 'test'][#comment = "test123"] 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']/ #comment 'Henry456'", ], }