Merge branch 'delete-prometheus-target-static-file' of kazu634/itamae into master
This commit is contained in:
commit
3180a21533
|
@ -1,2 +0,0 @@
|
|||
- targets:
|
||||
- localhost:9100
|
|
@ -1,5 +1,5 @@
|
|||
# Create `/etc/prometheus.d/`:
|
||||
%w(/etc/prometheus.d /etc/prometheus.d/targets/).each do |d|
|
||||
%w(/etc/prometheus.d).each do |d|
|
||||
directory d do
|
||||
owner 'root'
|
||||
group 'root'
|
||||
|
@ -14,13 +14,6 @@ remote_file '/etc/prometheus.d/prometheus.yml' do
|
|||
mode '644'
|
||||
end
|
||||
|
||||
# Deploy temporary file for `prometheus` targets:
|
||||
remote_file '/etc/prometheus.d/targets/targets.yml' do
|
||||
owner 'root'
|
||||
group 'root'
|
||||
mode '644'
|
||||
end
|
||||
|
||||
# Deploy `supervisor` configuration for `prometheus`:
|
||||
remote_file '/etc/supervisor/conf.d/prometheus.conf' do
|
||||
owner 'root'
|
||||
|
|
Loading…
Reference in New Issue