]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/passenger_processes
Fix new rubocop warnings
[chef.git] / cookbooks / munin / files / default / plugins / passenger_processes
index 59f9cdaa86932e921fb53ba10d2b37a67a7b71c9..b8a06cf3af9c3ce05aaeb9ab9b17721cb30ee017 100755 (executable)
@@ -1,18 +1,20 @@
 #!/usr/bin/env ruby
 
+require "English"
+
 def output_config
-  puts <<-END
-graph_category passenger
-graph_title Passenger processes
-graph_order active inactive
-graph_vlabel processes
-graph_total total
+  puts <<~END
+    graph_category passenger
+    graph_title Passenger processes
+    graph_order active inactive
+    graph_vlabel processes
+    graph_total total
 
-active.label busy servers
-active.draw AREA
-inactive.label idle servers
-inactive.draw STACK
-END
+    active.label busy servers
+    active.draw AREA
+    inactive.label idle servers
+    inactive.draw STACK
+  END
   exit 0
 end