This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree 5 files changed +2
-19
lines changed
5 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 23
23
* ` puppet_metrics_dashboard::service ` : Manages services
24
24
* ` puppet_metrics_dashboard::telegraf ` : Install and configure Telegraf
25
25
* ` puppet_metrics_dashboard::telegraf::config ` : Configures Telegraf
26
- * ` puppet_metrics_dashboard::telegraf::install ` : Installs Telegraf
27
26
* ` puppet_metrics_dashboard::telegraf::service ` : Manages the Telegraf service
28
27
29
28
## Defined types
Original file line number Diff line number Diff line change 11
11
}
12
12
13
13
if $_enable_telegraf {
14
- contain puppet_metrics_dashboard::telegraf::install
15
14
contain puppet_metrics_dashboard::telegraf::config
16
15
contain puppet_metrics_dashboard::telegraf::service
17
16
18
- Class[' puppet_metrics_dashboard::telegraf::install' ]
19
- -> Class[' puppet_metrics_dashboard::telegraf::config' ]
17
+ Class[' puppet_metrics_dashboard::telegraf::config' ]
20
18
-> Class[' puppet_metrics_dashboard::telegraf::service' ]
21
19
}
22
20
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
require 'spec_helper'
2
2
3
- describe 'puppet_metrics_dashboard::telegraf::install ' do
3
+ describe 'puppet_metrics_dashboard::telegraf::configure ' do
4
4
on_supported_os ( facterversion : '3.7' ) . each do |os , facts |
5
5
context "with facter 3.7 on #{ os } " do
6
6
let ( :node ) do
Original file line number Diff line number Diff line change 18
18
PRE_COND
19
19
end
20
20
21
- it { is_expected . to contain_class ( 'puppet_metrics_dashboard::telegraf::install' ) }
22
21
it { is_expected . to contain_class ( 'puppet_metrics_dashboard::telegraf::config' ) }
23
22
it { is_expected . to contain_class ( 'puppet_metrics_dashboard::telegraf::service' ) }
24
23
end
@@ -33,7 +32,6 @@ class {'puppet_metrics_dashboard':
33
32
PRE_COND
34
33
end
35
34
36
- it { is_expected . not_to contain_class ( 'puppet_metrics_dashboard::telegraf::install' ) }
37
35
it { is_expected . not_to contain_class ( 'puppet_metrics_dashboard::telegraf::config' ) }
38
36
it { is_expected . not_to contain_class ( 'puppet_metrics_dashboard::telegraf::service' ) }
39
37
end
You can’t perform that action at this time.
0 commit comments