X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fxinetd%2Ftemplates%2Fservice.erb;h=c969b33679c7f2c216a020fdd4a8b4e82a14556e;hb=HEAD;hp=d460f82356d3eae83775bc7a7a804fd4e6e01617;hpb=5d0d9fe522742878293dc126f611f1efdc1d03ac;p=mirror%2Fdsa-puppet.git diff --git a/modules/xinetd/templates/service.erb b/modules/xinetd/templates/service.erb index d460f8235..c969b3367 100644 --- a/modules/xinetd/templates/service.erb +++ b/modules/xinetd/templates/service.erb @@ -1,10 +1,18 @@ -service <%= scope.lookupvar('port') %> +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + +service <%= scope.lookupvar('service') %> { <%- if scope.lookupvar('bind') != '' -%> bind = <%= scope.lookupvar('bind') %> <%- end -%> <%- if scope.lookupvar('type') != '' -%> type = <%= scope.lookupvar('type') %> +<%- end -%> +<%- if scope.lookupvar('port') != '' -%> + port = <%= scope.lookupvar('port') %> <%- end -%> id = <%= scope.lookupvar('id') %>