File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 17
17
# See the License for the specific language governing permissions and
18
18
# limitations under the License.
19
19
#
20
+ service "splunk" do
21
+ action [ :nothing ]
22
+ supports :status => true , :start => true , :stop => true , :restart => true
23
+ end
20
24
21
25
# True for both a Dedicated Search head for Distributed Search and for non-distributed search
22
26
dedicated_search_head = true
173
177
end
174
178
end
175
179
176
- service "splunk" do
177
- action [ :start ]
178
- supports :status => true , :start => true , :stop => true , :restart => true
179
- end
180
-
181
180
# Enable receiving ports only if we are a standalone installation or a dedicated_indexer
182
181
if dedicated_indexer == true || node [ 'splunk' ] [ 'distributed_search' ] == false
183
182
execute "Enabling Receiver Port #{ node [ 'splunk' ] [ 'receiver_port' ] } " do
327
326
end
328
327
end
329
328
end
330
- end # End of distributed search
329
+ end # End of distributed search
330
+
331
+ service "splunk" do
332
+ action :start
333
+ end
You can’t perform that action at this time.
0 commit comments