Skip to content

Commit

Permalink
fixing linter errors and inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Plessl committed Jun 21, 2016
1 parent 97158f3 commit 9fbadf5
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## v0.13.1 [2015-06-20]
## v0.13.2 [2016-06-21]

* fixing plugin inclusion -- @rplessl
* fixing linter errors -- @rplessl

## v0.13.1 [2016-06-20]

* Enhanced for working with telegraf 0.13.x -- @thirdeyenick and @rplessl
* Refactoring plugin system (closes #23) -- @rplessl
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
'source' => 'https://repos.influxdata.com/influxdb.key',
},
}
ensure_packages(['apt-transport-https'], { before => Class['apt::update'] })
ensure_packages(['apt-transport-https'], { before => Class['apt::update'] })
Class['apt::update'] -> Package['telegraf']
}
'redhat': {
Expand Down
4 changes: 2 additions & 2 deletions manifests/plugins/inputs/elasticsearch.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#
# Copyright 2015 Asthon Davis
#
class telegraf::plugins::elasticsearch (
$servers = ["http://localhost:9200"],
class telegraf::plugins::inputs::elasticsearch (
$servers = ['http://localhost:9200'],
$cluster_health = true,
$local = true,
){
Expand Down
2 changes: 1 addition & 1 deletion manifests/plugins/inputs/mysql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# Copyright 2015 Roman Plessl, Plessl + Burkhardt GmbH
#
class telegraf::plugins::mysql (
class telegraf::plugins::inputs::mysql (
# [mysql] section of telegraf.conf
)
{
Expand Down
2 changes: 1 addition & 1 deletion manifests/plugins/inputs/postgresql.pp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#
# Copyright 2015 Roman Plessl, Plessl + Burkhardt GmbH
#
class telegraf::plugins::postgresql (
class telegraf::plugins::inputs::postgresql (
# [postgresql] section of telegraf.conf
){

Expand Down
4 changes: 2 additions & 2 deletions manifests/plugins/inputs/procstat.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#
# === Examples
#
# telegraf::plugins::procstat {
# telegraf::plugins::inputs::procstat {
# 'mysql':
# pid_file => '/var/run/mysqld/mysqld.pid';
# }
Expand All @@ -46,7 +46,7 @@
#
# Copyright 2016 Nine Internet Solutions AG
#
define telegraf::plugins::procstat (
define telegraf::plugins::inputs::procstat (
$pid_file = undef,
$exec_name = undef,
$pattern = undef,
Expand Down
2 changes: 1 addition & 1 deletion manifests/plugins/inputs/puppetagent.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# Copyright 2015 Roman Plessl, Plessl + Burkhardt GmbH
#
class telegraf::plugins::puppetagent (
class telegraf::plugins::inputs::puppetagent (
# [puppetagent] section of telegraf.conf
){

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rplessl-telegraf",
"version": "0.13.1",
"version": "0.13.2",
"source": "https://github.com/rplessl/puppet-telegraf",
"author": "Roman Plessl",
"license": "MIT",
Expand Down

0 comments on commit 9fbadf5

Please sign in to comment.