Skip to content

Commit

Permalink
Examples for purging and first plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Jul 1, 2008
1 parent 119584e commit d040431
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions doc/example.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,23 @@

include collectd

resources { collectd_conf: purge => true; }

collectd_conf {
'BaseDir': value => 'foo';
'Server': value => [ '"foo" 1000', '"foo2" 2000' ];
'FQDNLookup':
notify => Service['collectd'],
value => 'true';
'Server':
notify => Service['collectd'],
value => [ '"foo" 1002', '"foo3" 2000' ];
'LoadPlugin':
notify => Service['collectd'],
value => [ 'syslog', 'network', 'cpu' ];
}

collectd::syslog { 'debug': }
collectd::logfile {
'debug': level => debug;
'error': level => err;
}

0 comments on commit d040431

Please sign in to comment.