Displaying 1 result from an estimated 1 matches for "app_tcp".
Did you mean:
app_map
2010 Jun 02
22
augeas type and /etc/services
...he
service to add no problem, but having some difficulties to get the match to
work to prevent duplicate entries from adding. Since the service-name[*]
has endless number of entries I used a glob so it checks all the entries but
that does not seem to work. Any ideas on how to proceed?
augeas { app_tcp'':
context => ''/files/etc/services'',
changes => [''insert service-name after service-name[last()]'',
''set service-name[last()] app_tcp'',
''set service-name[last()]/port 1002'',...