Create `/etc/prometheus_exporters.d`.
This commit is contained in:
parent
b607d9f107
commit
ec906dae58
|
@ -38,6 +38,15 @@ if node['prometheus']['manager']
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Create `/etc/prometheus.d/`:
|
||||||
|
%w(/etc/prometheus_exporters.d).each do |d|
|
||||||
|
directory d do
|
||||||
|
owner 'root'
|
||||||
|
group 'root'
|
||||||
|
mode '0755'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Install the node_exporter here:
|
# Install the node_exporter here:
|
||||||
include_recipe './node_exporter_install.rb'
|
include_recipe './node_exporter_install.rb'
|
||||||
include_recipe './node_exporter_setup.rb'
|
include_recipe './node_exporter_setup.rb'
|
||||||
|
|
Loading…
Reference in New Issue