Skip to content

Commit

Permalink
Merge pull request voxpupuli#320 from ttarczynski/docs-fix
Browse files Browse the repository at this point in the history
Small fix in documentation.
  • Loading branch information
blkperl committed Sep 1, 2015
2 parents 952a645 + 9368d61 commit 052daea
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,18 @@ class { 'collectd::plugin::processes':
],
}
```

Or define single processes / process matches:
```puppet
collectd::plugin::processes::process { 'collectd' : }
```

```puppet
collectd::plugin::processes::processmatch { 'elasticsearch' :
regex => '.*java.*org.elasticsearch.bootstrap.Elasticsearch'
}
```

####Class: `collectd::plugin::protocols`

* `values` is an array of `Protocol` names, `Protocol:ValueName` pairs, or a regex
Expand All @@ -771,17 +783,6 @@ class { 'collectd::plugin::protocols':
}
```

Or define single processes / process matches:
```puppet
collectd::plugin::processes::process { 'collectd' : }
```

```puppet
collectd::plugin::processes::processmatch { 'elasticsearch' :
regex => '.*java.*org.elasticsearch.bootstrap.Elasticsearch'
}
```

####Class: `collectd::plugin::python`

* `modulepaths` is an array of paths where will be Collectd looking for Python modules, Puppet will ensure that each of specified directories exists and it is owned by `root` (and `chmod 0750`). If you don't specify any `modulepaths` a default value for given distribution will be used.
Expand Down

0 comments on commit 052daea

Please sign in to comment.