This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +2
-19
lines changed Expand file tree Collapse file tree 5 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 2323* ` puppet_metrics_dashboard::service ` : Manages services
2424* ` puppet_metrics_dashboard::telegraf ` : Install and configure Telegraf
2525* ` puppet_metrics_dashboard::telegraf::config ` : Configures Telegraf
26- * ` puppet_metrics_dashboard::telegraf::install ` : Installs Telegraf
2726* ` puppet_metrics_dashboard::telegraf::service ` : Manages the Telegraf service
2827
2928## Defined types
Original file line number Diff line number Diff line change 1111 }
1212
1313 if $_enable_telegraf {
14- contain puppet_metrics_dashboard::telegraf::install
1514 contain puppet_metrics_dashboard::telegraf::config
1615 contain puppet_metrics_dashboard::telegraf::service
1716
18- Class[' puppet_metrics_dashboard::telegraf::install' ]
19- -> Class[' puppet_metrics_dashboard::telegraf::config' ]
17+ Class[' puppet_metrics_dashboard::telegraf::config' ]
2018 -> Class[' puppet_metrics_dashboard::telegraf::service' ]
2119 }
2220}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11require 'spec_helper'
22
3- describe 'puppet_metrics_dashboard::telegraf::install ' do
3+ describe 'puppet_metrics_dashboard::telegraf::configure ' do
44 on_supported_os ( facterversion : '3.7' ) . each do |os , facts |
55 context "with facter 3.7 on #{ os } " do
66 let ( :node ) do
Original file line number Diff line number Diff line change 1818 PRE_COND
1919 end
2020
21- it { is_expected . to contain_class ( 'puppet_metrics_dashboard::telegraf::install' ) }
2221 it { is_expected . to contain_class ( 'puppet_metrics_dashboard::telegraf::config' ) }
2322 it { is_expected . to contain_class ( 'puppet_metrics_dashboard::telegraf::service' ) }
2423 end
@@ -33,7 +32,6 @@ class {'puppet_metrics_dashboard':
3332 PRE_COND
3433 end
3534
36- it { is_expected . not_to contain_class ( 'puppet_metrics_dashboard::telegraf::install' ) }
3735 it { is_expected . not_to contain_class ( 'puppet_metrics_dashboard::telegraf::config' ) }
3836 it { is_expected . not_to contain_class ( 'puppet_metrics_dashboard::telegraf::service' ) }
3937 end
You can’t perform that action at this time.
0 commit comments