Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Micha Krause committed Jan 23, 2015
1 parent 880baad commit 05a9f02
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ documentation for each plugin for configurable attributes.
* `swap` (see [collectd::plugin::swap](#class-collectdpluginswap) below)
* `syslog` (see [collectd::plugin::syslog](#class-collectdpluginsyslog) below)
* `tail` (see [collectd::plugin::tail](#class-collectdplugintail) below)
* `target_v5upgrade` (see [collectd::plugin::target_v5upgrade](#class-collectdplugintarget_v5upgrade) below)
* `tcpconns` (see [collectd::plugin::tcpconns](#class-collectdplugintcpconns) below)
* `unixsock` (see [collectd::plugin::unixsock](#class-collectdpluginunixsock) below)
* `uptime` (see [collectd::plugin::uptime](#class-collectdpluginuptime) below)
Expand Down Expand Up @@ -720,6 +721,13 @@ class { 'collectd::plugin::syslog':
}
```

####Class: `collectd::plugin::target_v5upgrade`

```puppet
class { 'collectd::plugin::target_v5upgrade':
}
```

####Class: `collectd::plugin::tcpconns`

```puppet
Expand Down
10 changes: 10 additions & 0 deletions manifests/plugin/target_v5upgrade.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://collectd.org/wiki/index.php/Target:v5_upgrade
class collectd::plugin::target_v5upgrade (
$ensure = present,
) {
collectd::plugin {'target_v5upgrade':
ensure => $ensure,
content => template('collectd/plugin/target_v5upgrade.conf.erb'),
order => '06',
}
}
3 changes: 3 additions & 0 deletions templates/plugin/target_v5upgrade.conf.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Chain "PreCache">
Target "v5upgrade"
</Chain>

0 comments on commit 05a9f02

Please sign in to comment.