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

Commit ebf644d

Browse files
author
suckatrash
committed
remove puppet_metrics_dashboard::telegraf::install class
1 parent 077e118 commit ebf644d

File tree

6 files changed

+1
-44
lines changed

6 files changed

+1
-44
lines changed

REFERENCE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
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

manifests/telegraf.pp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
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
}

manifests/telegraf/install.pp

Lines changed: 0 additions & 12 deletions
This file was deleted.

manifests/telegraf/service.pp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
ensure => running,
99
enable => true,
1010
require => [
11-
Package['telegraf'],
1211
Service[$puppet_metrics_dashboard::influx_db_service_name]],
1312
}
1413
}

spec/classes/telegraf/install_spec.rb

Lines changed: 0 additions & 25 deletions
This file was deleted.

spec/classes/telegraf_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
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

0 commit comments

Comments
 (0)