Skip to content

Commit

Permalink
Add cpufreq plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Theisen committed Dec 11, 2014
1 parent ca2f400 commit 5802325
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions manifests/plugin/cpufreq.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://collectd.org/wiki/index.php/Plugin:CPUFreq
class collectd::plugin::cpufreq (
$ensure = present,
) {
collectd::plugin {'cpufreq':
ensure => $ensure
}
}
2 changes: 1 addition & 1 deletion tests/plugin.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
collectd::plugin { 'processes': }
collectd::plugin { 'swap': }
collectd::plugin { 'users': }

collects::plugin { 'cpufreq': }

0 comments on commit 5802325

Please sign in to comment.