]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/resources/collector.rb
mail: fix typo on community.openstreetmap.org domain
[chef.git] / cookbooks / prometheus / resources / collector.rb
index c9c28fc6e8046d5c9ce74b3915e48da1a7ab882e..ef103c3c0733d778c7fe84d9a56b0aaffd12cf48 100644 (file)
@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
 # limitations under the License.
 #
 
+unified_mode true
+
 default_action :create
 
 property :collector, :kind_of => String, :name_property => true
 default_action :create
 
 property :collector, :kind_of => String, :name_property => true
@@ -76,7 +78,7 @@ action_class do
   end
 
   def executable_path
   end
 
   def executable_path
-    "/opt/prometheus/collectors/#{new_resource.collector}/#{new_resource.collector}_collector"
+    "/opt/prometheus-exporters/collectors/#{new_resource.collector}/#{new_resource.collector}_collector"
   end
 
   def executable_options
   end
 
   def executable_options