Class collectd::collectd
In: /home/david/repos/complete/modules/collectd/manifests/init.pp
Parent:

Module: collectd

To start managing the collectd, include the collectd class in your node. Use the collectd::conf define to set basic parameters of your installation. collectd::plugin is the foundation of many plugin-specific defines which help you configuring their respective plugin.

Class: collectd Manages the installation and running of a collectd as well as the /etc/collectd/collectd.conf file.

Resources

Resources

Collectd::Conf[Include]
   value => ['${module_dir_path}/collectd/plugins/*.conf', '${module_dir_path}/collectd/thresholds/*.conf']
File[/etc/collectd/collectd.conf]
   ensure => 'present'
   mode => '0644'
   owner => 'root'
   group => '0'
   require => '#'
   notify => '#'
Libdir[['collectd, collectd/plugins, collectd/thresholds']]
Package[collectd]
   ensure => 'installed'
Service[collectd]
   ensure => 'running'
   enable => '#'
   hasrestart => '#'
   pattern => 'collectd'
   require => '#'

[Validate]