-
Notifications
You must be signed in to change notification settings - Fork 90
/
service.erb
75 lines (74 loc) · 1.9 KB
/
service.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This file is being maintained by Puppet.
# DO NOT EDIT
service <%= @service_name %>
{
<% if @port -%>
port = <%= @port %>
<% end -%>
disable = <%= @disable %>
socket_type = <%= @socket_type %>
protocol = <%= @protocol %>
wait = <%= @_wait %>
user = <%= @_user %>
<% if @_group -%>
group = <%= @_group %>
<% end -%>
groups = <%= @groups %>
<% if @server -%>
server = <%= @server %>
<% end -%>
<% if @bind -%>
bind = <%= @bind %>
<% end -%>
<% if @service_type -%>
type = <%= @service_type %>
<% end -%>
<% if @server_args -%>
server_args = <%= @server_args %>
<% end -%>
<% if @only_from -%>
only_from = <%= @only_from %>
<% end -%>
<% if @per_source -%>
per_source = <%= @per_source %>
<% end -%>
<% if @log_on_success -%>
log_on_success <%= @log_on_success_operator %> <%= @log_on_success %>
<% end -%>
<% if @log_on_failure -%>
log_on_failure <%= @log_on_failure_operator %> <%= @log_on_failure %>
<% end -%>
<% if @cps -%>
cps = <%= @cps %>
<% end -%>
<% if @flags -%>
flags = <%= @flags %>
<% end -%>
<% if @xtype -%>
type = <%= @xtype %>
<% end -%>
<% if @no_access -%>
no_access = <%= @no_access %>
<% end -%>
<% if @access_times -%>
access_times = <%= @access_times %>
<% end -%>
<% if @log_type -%>
log_type = <%= @log_type %>
<% end -%>
<% if @nice -%>
nice = <%= @nice %>
<% end -%>
<% if @env -%>
env = <%= @env %>
<% end -%>
<% if @passenv -%>
passenv = <%= @passenv %>
<% end -%>
<% if @instances -%>
instances = <%= @instances %>
<% end -%>
<% if @redirect -%>
redirect = <%= @redirect %>
<% end -%>
}