This file is indexed.

/usr/share/puppet/modules.available/puppetlabs-apache/templates/mod/jk/workers.properties.erb is in puppet-module-puppetlabs-apache 3.0.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
# This file is generated automatically by Puppet - DO NOT EDIT
# Any manual changes will be overwritten
<%# -%>
<%# workers_file_content should be a hash which keys are workers names -%>
<%# and values are new hashes with properties and values -%>
<%# Two keys are special (and reserved!): -%>
<%# worker_lists - Array of comma-separated worker names lists -%>
<%# Each list is an item of the array and will be placed in one line -%>
<%# worker_maintain - Numeric string -%>
<%# -%>
<%# Example: -%>
<%# worker.list = status -%>
<%# worker.list = some_name,other_name -%>
<%# worker.maintain = 60 -%>
<%# # Optional comment -%>
<%# worker.some_name.type=ajp13 -%>
<%# worker.some_name.socket_keepalive=true -%>
<%# # I just like comments -%>
<%# worker.other_name.type=ajp12 (why would you?) -%>
<%# worker.other_name.socket_keepalive=false -%>
<%# -%>
<%# should be parameterized as: -%>
<%# $workers_file_content = { -%>
<%#   worker_lists    => ['status', 'some_name,other_name'], -%>
<%#   worker_maintain => '60', -%>
<%#   some_name       => { -%>
<%#     type             => 'ajp13', -%>
<%#     socket_keepalive => 'true', -%>
<%#     comment          => 'Optional comment', -%>
<%#   }, -%>
<%#   other_name      => { -%>
<%#     type             => 'ajp12', -%>
<%#     socket_keepalive => 'false', -%>
<%#     comment          => 'I just like comments', -%>
<%#   }, -%>
<%# }, -%>
<%# -%>
<% if @workers_file_content.has_key?('worker_lists') -%>

<% @workers_file_content['worker_lists'].sort.each do |list| -%>
worker.list = <%= list %>
<% end -%>
<% end -%>
<% if @workers_file_content.has_key?('worker_maintain') -%>

worker.maintain = <%= @workers_file_content['worker_maintain'] %>
<% end -%>
<% @workers_file_content.sort.each do |name,directives| -%>
<%# Skip hash items with the reserved keys -%>
<% if not ['worker_lists', 'worker_maintain'].include?(name) -%>

<%# Places comment before worker directives -%>
<% if directives.has_key?('comment') -%>
# <%= directives['comment'] %>
<% end -%>
<% directives.sort.each do |property,value| -%>
<% if property != 'comment' -%>
worker.<%= name %>.<%= property %>=<%= value %>
<% end -%>
<% end -%>
<% end -%>
<% end -%>