Skip to content

Commit 4904535

Browse files
committed
Make lintastic
1 parent 85540a5 commit 4904535

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

cookbooks/boxcutter_dashboard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ telemetry from a robotics fleet and offers web dashboards in Grafana.
55

66
@jhelwig at System Initiative has some useful guidelines for making Grafana
77
dashboards portable - trying to follow those:
8-
https://github.com/systeminit/si/blob/main/dev/config/grafana/provisioning/dashboards/README.md
8+
https://github.com/systeminit/si/blob/main/dev/config/grafana/provisioning/dashboards/README.md

cookbooks/boxcutter_dashboard/metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
description 'Installs/Configures boxcutter_dashboard'
66
source_url 'https://github.com/boxcutter/boxcutter-chef-cookbooks/'
77
version '0.1.0'
8+
depends 'boxcutter_prometheus'
89
depends 'fb_grafana'
9-
depends 'boxcutter_prometheus'

cookbooks/boxcutter_dashboard/recipes/default.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
'job_name' => 'node',
4949
'file_sd_configs' => [
5050
{
51-
'files' => ['/etc/prometheus/file_sd/node_targets.yml']
52-
}
53-
]
51+
'files' => ['/etc/prometheus/file_sd/node_targets.yml'],
52+
},
53+
],
5454
},
5555
],
5656
}
@@ -68,7 +68,7 @@
6868
node.default['fb_grafana']['datasources']['prometheus'] = {
6969
'type' => 'prometheus',
7070
'orgId' => 1,
71-
'url' => "http://localhost:9090",
71+
'url' => 'http://localhost:9090',
7272
'access' => 'proxy',
7373
'isDefault' => true,
7474
'editable' => false,
@@ -126,4 +126,4 @@
126126
group 'grafana'
127127
mode '0644'
128128
notifies :restart, 'service[grafana-server]', :delayed
129-
end
129+
end

0 commit comments

Comments
 (0)