X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/acc8e1af34fde59696234a80475976ed6c5f5044..c3be356ba81afff0a666355e018531de69e0a5fb:/cookbooks/prometheus/resources/collector.rb?ds=sidebyside 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