cookbook 'chef-collectd', '= 0.0.8'
chef-collectd (3) Versions 0.0.8 Follow0
Installs/Configures collectd
cookbook 'chef-collectd', '= 0.0.8', :supermarket
knife supermarket install chef-collectd
knife supermarket download chef-collectd
chef-collectd
This is a Chef cookbook which installs and configures collectd. It tries to be
minimalistic as possible whilst remaining flexible enough to configure anything
in collectd through attributes to ease integration with other cookbooks.
Requirements
Platform
- Chef >= 12.19.36
- Ubuntu >= 15.04
Attributes
The configuration is automatically generated from node['collectd']['conf']
.
Each configuration is defined under a namespace. Each namespace is written as
separate file, and all defined namespaces are included under the global
configuration file.
The example:
default['collectd']['conf']['global']['FQDNLookup'] = true
default['collectd']['conf']['disk']['LoadPlugin df']['Interval'] = 3600
... will generate the following three files:
/etc/collectd.conf
Include "/etc/collectd/collectd.conf.d/global.conf"
Include "/etc/collectd/collectd.conf.d/disk.conf"
/etc/collectd.conf.d/global.conf
FQDNLookup true
/etc/collectd.conf.d/disk.conf
<LoadPlugin df>
Interval 3600
</LoadPlugin>
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
License Metric
0.0.8 failed this metric
FC069: Ensure standardized license defined in metadata: chef-collectd/metadata.rb:1
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.8 failed this metric
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any