Skip to content

Commit

Permalink
add rdoc for ganglia::gmetad
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Nov 16, 2012
1 parent a804415 commit ae66b95
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions manifests/gmetad.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
# == Class: ganglia::gmetad
#
# install and configure the ganglia gmetad daemon
#
# === Parameters
#
# All parameteres are optional.
#
# [*clusters*]
# array of hashes. Valid keys are:
#
# -name
# -polling_interval
# -address
#
# defaults to:
# [ { 'name' => 'my cluster', 'address' => 'localhost' } ],
#
# [*gridname*]
# string - defaults to '', which means no gridname at all
#
#
# === Examples
#
#
# $clusters = [
# {
# 'name' => 'test',
# 'address' => ['test1.example.org', 'test2.example.org'],
# },
# ]
#
# class{ 'ganglia::gmetad':
# clusters => $clusters,
# gridname => 'my grid',
# }
#
#
# === Authors
#
# Joshua Hoblitt <[email protected]>
#
# === Copyright
#
# Copyright (C) 2012 Joshua Hoblitt
#

class ganglia::gmetad(
$clusters = [ { 'name' => 'my cluster', 'address' => 'localhost' } ],
$gridname = '',
Expand Down

0 comments on commit ae66b95

Please sign in to comment.