Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 2625b19

Browse files
authored
Merge pull request #132 from timidri/dash_fix
Remove slash from dashboard name
2 parents 98cadfd + e0bc1e1 commit 2625b19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/dashboards/puppet_metrics.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
'Archive Postgres Performance':
4242
content => file('puppet_metrics_dashboard/Archive_Postgres.json'),
4343
;
44-
'Archive Process/System Stats':
44+
'Archive Process-System Stats':
4545
content => file('puppet_metrics_dashboard/Process_System_Stats.json'),
4646
;
4747
'Archive File Sync Metrics':

spec/classes/dashboards/puppet_metrics_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ class {'puppet_metrics_dashboard':
7272
)
7373
end
7474

75-
it 'should contain Grafana_dashboard[Archive Process/System Stats]' do
76-
is_expected.to contain_grafana_dashboard('Archive Process/System Stats').with(
75+
it 'should contain Grafana_dashboard[Archive Process-System Stats]' do
76+
is_expected.to contain_grafana_dashboard('Archive Process-System Stats').with(
7777
grafana_url: 'http://localhost:3000',
7878
grafana_user: 'admin',
7979
grafana_password: 'puppetlabs',

0 commit comments

Comments
 (0)