X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/acc8e1af34fde59696234a80475976ed6c5f5044..4177d28331e277e9bd639d28b1cf606f27794c66:/cookbooks/prometheus/resources/collector.rb diff --git a/cookbooks/prometheus/resources/collector.rb b/cookbooks/prometheus/resources/collector.rb index c9c28fc6e..ef103c3c0 100644 --- a/cookbooks/prometheus/resources/collector.rb +++ b/cookbooks/prometheus/resources/collector.rb @@ -17,6 +17,8 @@ # limitations under the License. # +unified_mode true + default_action :create property :collector, :kind_of => String, :name_property => true @@ -76,7 +78,7 @@ action_class do 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