Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 7.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'jhoblitt-ganglia', '3.0.4'
Learn more about managing modules with a PuppetfileDocumentation
Puppet ganglia Module
Table of Contents
Overview
Manages ganglia gmond & gmetad daemons + web front end
Description
This is a puppet module for installation and configuration of the
ganglia
gmond
& gmetad
daemons + web
front end.
Usage
Examples
# unicast
$udp_recv_channel = [
{ port => 8649, bind => 'localhost' },
{ port => 8649, bind => '0.0.0.0' },
]
$udp_send_channel = [
{ port => 8649, host => 'test1.example.org', ttl => 2 },
{ port => 8649, host => 'test2.example.org', ttl => 2 },
{ bind_hostname => "yes", host => 'test3.example.org', ttl => 1 },
]
$tcp_accept_channel = [
{ port => 8649 },
]
# multicast
$udp_recv_channel = [
{ mcast_join => '239.2.11.71', mcast_if => 'eth0', port => 8649, ttl => 1 }
]
$udp_send_channel = [
{ mcast_join => '239.2.11.71', port => 8649, bind => '239.2.11.71' }
]
$tcp_accept_channel = [
{ port => 8649 },
]
$gmond_package_name = [ 'ganglia-gmond', 'ganglia-gmond-python' ]
class{ 'ganglia::gmond':
globals_deaf => 'yes',
globals_host_dmax => '691200',
globals_send_metadata_interval => '60',
globals_override_hostname => 'web.example.org',
cluster_name => 'example grid',
cluster_owner => 'ACME, Inc.',
cluster_latlong => 'N32.2332147 W110.9481163',
cluster_url => 'www.example.org',
host_location => 'example computer room',
udp_recv_channel => $udp_recv_channel,
udp_send_channel => $udp_send_channel,
tcp_accept_channel => $tcp_accept_channel,
gmond_package_name => $gmond_package_name,
}
$clusters = [
{
name => 'test',
address => ['test1.example.org', 'test2.example.org'],
},
]
$rras = [
{
cf => 'AVERAGE',
xff => 0.5,
steps => 1,
rows => 5856
},
{
cf => 'AVERAGE',
xff => 0.5,
steps => 4,
rows => 20160
},
{
cf => 'AVERAGE',
xff => 0.5,
steps => 40,
rows => 52704
},
]
class { 'ganglia::gmetad':
clusters => $clusters,
gridname => 'my grid',
rras => $rras,
all_trusted => false,
trusted_hosts => [],
}
class{ 'ganglia::web':
ganglia_ip => '192.168.0.1',
ganglia_port => 8652,
}
Classes
ganglia::gmond
This class manages the configurtion of the Ganglia gmond
daemon.
# defaults
class { 'ganglia::gmond':
globals_deaf => 'no',
globals_host_dmax =>'0',
globals_send_metadata_interval => '300',
globals_override_hostname => undef,
cluster_name => 'unspecified',
cluster_owner => 'unspecified',
cluster_latlong => 'unspecified',
cluster_url => 'unspecified',
host_location => 'unspecified',
udp_send_channel => [
{ mcast_join => '239.2.11.71', port => 8649, ttl => 1 }
],
udp_recv_channel => [
{ mcast_join => '239.2.11.71', port => 8649, bind => '239.2.11.71' }
],
tcp_accept_channel => [ { port => 8659 } ],
gmond_package_name => $::ganglia::params::gmond_package_name,
}
globals_deaf
String
defaults to: no
globals_host_dmax
String
defaults to: 0
globals_send_metadata_interval
String
defaults to: 300
globals_override_hostname
String
defaults to: undef
cluster_name
String
defaults to: unspecified
cluster_owner
String
defaults to: unspecified
cluster_latlong
String
defaults to: unspecified
cluster_url
String
defaults to: unspecified
host_location
String
defaults to: unspecified
udp_send_channel
Array of Hash
defaults to:
[ { mcast_join => '239.2.11.71', port => 8649, ttl => 1 } ]
Supported hash keys are (all optional):
bind_hostname
mcast_join
mcast_if
host
port
ttl
udp_recv_channel
Array of Hash
defaults to:
[ { mcast_join => '239.2.11.71', port => 8649, bind => '239.2.11.71' } ]
Supported hash keys are (all optional):
mcast_join
mcast_if
port
bind
family
tcp_accept_channel
Array of Hash
defaults to:
[ { port => 8659 } ]
Supported hash keys are (all optional):
port
family
gmond_package_name
String or Array
defaults to: $::ganglia::params::gmond_package_name
ganglia::gmetad
install and configure the ganglia gmetad daemon.
# defaults
class { 'ganglia::gmetad':
all_trusted => false,
clusters => [
{ 'name' => 'my cluster', 'address' => 'localhost' },
],
gridname => undef,
rras => $::ganglia::params::rras,
trusted_hosts => [],
gmetad_package_name => $::ganglia::params::gmetad_package_name,
gmetad_service_name => $::ganglia::params::gmetad_service_name,
gmetad_service_config => $::ganglia::params::gmetad_service_config,
gmetad_user => $::ganglia::params::gmetad_user,
gmetad_case_sensitive_hostnames =>
$::ganglia::params::gmetad_case_sensitive_hostnames
}
all_trusted
Boolean
defaults to: false
If set to true, will allow any host to query ganglia data via the XML query
port. Corresponds to the all_trusted
field in gmetad.conf
.
clusters
Array of Hash
defaults to:
[ { 'name' => 'my cluster', 'address' => 'localhost' } ]
Supported hash keys are:
name
(required)polling_interval
(optional)address
(may be aString
orArray of String
gridname
String
defaults to: undef
rras
Array of Hash
defaults to:
[
{
cf => 'AVERAGE',
xff => 0.5,
steps => 1,
rows => 5856
},
{
cf => 'AVERAGE',
xff => 0.5,
steps => 4,
rows => 20160
},
{
cf => 'AVERAGE',
xff => 0.5,
steps => 40,
rows => 52704
},
]
Supported hash keys (all keys are required) are:
cf
consolidation function (cf) can be AVERAGE | MIN | MAX | LAST
xff
xfiles factor (xff) defines what part of a consolidation interval may be made up from UNKNOWN data while the consolidated value is still regarded as known. It is given as the ratio of allowed UNKNOWN PDPs to the number of PDPs in the interval. Thus, it ranges from 0 to 1 (exclusive).
steps
steps defines how many of these primary data points are used to build a consolidated data point which then goes into the archive.
rows
rows defines how many generations of data values are kept in an RRA. Obviously, this has to be greater than zero.
trusted_hosts
Array of Strings
defaults to: '[]'
Each string matches a hostname that is allowed to query ganglia data via the
XML query port. Corresponds to the all_trusted
field in gmetad.conf
.
gmetad_package_name
String
defaults to: $::ganglia::params::gmetad_package_name
gmetad_service_name
String
defaults to: $::ganglia::params::gmetad_service_name
gmetad_service_config
String
defaults to: $::ganglia::params::gmetad_service_config
gmetad_user
String
defaults to: $::ganglia::params::gmetad_user
gmetad_case_sensitive_hostnames
Integer
defaults to: $::ganglia::params::gmetad_case_sensitive_hostnames
Accepted values are 0
or 1
.
ganglia::web
Install and configure the ganglia web front end.
# defaults
class{ 'ganglia::web':
ganglia_ip => '127.0.0.1',
ganglia_port => 8652,
}
ganglia_ip
String
defaults to: 127.0.0.1
ganglia_port
String or Integer
defaults to: Integer: 8652
Passing a String
to $ganglia_port
is deprecated. Please use an Integer
value.
Limitations
Tested Platforms
It has been tested on:
- el6.x
- el7.x
- ubuntu 12.04
- ubuntu 13.04
- debian 6.07
Puppet Version Compatibility
Versions | Puppet 2.7 | Puppet 3.x | Puppet 4.x | Puppet 5.x | Puppet 6.x |
---|---|---|---|---|---|
1.x | yes | yes | no | no | no |
2.x | no | yes | yes | no | no |
3.x | no | no | no | yes | yes |
$::osfamily == RedHat
and EPEL packages
As of 2012-11-16, the stable EPEL repos for el5 and el6 contain, respectively, packages for ganglia 3.0.7 and 3.1.7. The ganglia UDP protocol for communication between gmond daemons changed incompatibly between 3.0.x and 3.1.x. However, the TCP based protocol gmetad uses to poll gmond agents has remained compatible.
If it's desirable to stick with the EPEL packages, a possible way of dealing with this is divide a group of hosts into two clusters based on $::lsbmajdistrelease (which should imply gmond version without having to install a custom fact). The example below divides the previous "mycluster" into "mycluster_el5" and "mycluster_el6". Note that you will also have to configure gmetad to pull a gmond agent from each of these new clusters.
$udp_recv_channel = [
{ port => 8649, bind => 'localhost' },
{ port => 8649, bind => '0.0.0.0' },
]
case $::lsbmajdistrelease {
5: {
# epel for el5.x has 3.0.x, which will not work with gmond in 3.1.x
$udp_send_channel = [
{ port => 8649, host => 'gmond-3-0_host1.example.org', ttl => 2 },
{ port => 8649, host => 'gmond-3-0_host2.example.org', ttl => 2 },
]
$cluster_name = 'mycluster_el5'
}
6, default: {
# epel for el6.x has 3.1.x
$udp_send_channel = [
{ port => 8649, host => 'gmond-3-1_host1.example.org', ttl => 2 },
{ port => 8649, host => 'gmond-3-1_host2.example.org', ttl => 2 },
]
$cluster_name = 'mycluster_el6'
}
}
$tcp_accept_channel = [
{port => 8649},
]
class{ 'ganglia::gmond':
cluster_name => 'example grid',
cluster_owner => 'ACME, Inc.',
cluster_latlong => 'N32.2332147 W110.9481163',
cluster_url => 'www.example.org',
host_location => 'example computer room',
udp_recv_channel => $udp_recv_channel,
udp_send_channel => $udp_send_channel,
tcp_accept_channel => $tcp_accept_channel,
}
Versioning
This module is versioned according to the Semantic Versioning 2.0.0 specification.
Support
Please log tickets and issues at github
Contributing
- Fork it on github
- Make a local clone of your fork
- Create a topic branch. Eg,
feature/mousetrap
- Make/commit changes
- Commit messages should be in imperative tense
- Check that linter warnings or errors are not introduced -
pdk validate [-a]
- Check that
Rspec
unit tests are not broken and coverage is added for new features -pdk test unit
- Documentation of API/features is updated as appropriate in the README
- If present,
beaker
acceptance tests should be run and potentially updated -pdk bundle exec rake beaker
- When the feature is complete, rebase / squash the branch history as necessary to remove "fix typo", "oops", "whitespace" and other trivial commits
- Push the topic branch to github
- Open a Pull Request (PR) from the topic branch onto parent repo's
master
branch
See Also
[Current]
rebase of #63 on current master
- 0a6cee9 - (John Thiltges) Add rspec tests for gmond_package_name parameter in ganglia::gmond
- 8ea2139 - (John Thiltges) Add gmond_package_name as a parameter, allowing a string or array
- 285de69 - (Joshua Hoblitt) Merge pull request #64 from jthiltges/rspec-versioncmp
Set puppetversion in the facts for rspec tests
- fa5bef8 - (John Thiltges) Set puppetversion in the facts for rspec tests
- c51c22d - (Joshua Hoblitt) Merge pull request #62 from hirocaster/fix-example
Fix puppet syntax in example
- 75b0b1d - (hirocaster) Fix puppet syntax
- 8b37e2f - (Joshua Hoblitt) Merge pull request #59 from hwoodson/master
Fixed a typo in the README.md
- 94d794c - (Heath Woodson) Removed excess space and extra => in the README.md
- aae1f69 - (Heath Woodson) Fixed added a missing comma in the README.md
- c6d20d6 - (Heath Woodson) Fixed one more typo in the README.md
- 9045b5e - (Heath Woodson) Fixed a typo in the README.md
- 0ecf032 - (Joshua Hoblitt) bump version to v2.1.0
- 7ad4f41 - (Joshua Hoblitt) Merge pull request #57 from NoodlesNZ/master
Fixed conf.php for current ganglia web
- 5f4a366 - (Nick Le Mouton) Fixed conf.php for current ganglia web
- c5710ac - (Joshua Hoblitt) Merge pull request #55 from jhoblitt/feature/v2.0.0
v2.0.0
- 12cbbb3 - (Joshua Hoblitt) bump version to v2.0.0
- 8029f6b - (Joshua Hoblitt) add Puppet Version Compatibility subsection to README
- 82f0d95 - (Joshua Hoblitt) migrate & revise API docs into README
API documentation was duplicated and inconsistent between the README and individual .pp files. This change makes the README unambiguously authoritative.
-
db84982 - (Joshua Hoblitt) deprecate passing a String the ganglia::web param ganglia_port
Passing a String to $ganglia_port is deprecated. Please use an Integer value.
-
aca1b0d - (Joshua Hoblitt) validate ganglia::gmetad gmetad_case_sensitive_hostnames param
-
41550fb - (Joshua Hoblitt) set stdlib requirement to 4.6.0
Needed for the validate_integer
function.
- 03105d3 - (Joshua Hoblitt) fully qualify all variable lookups in foreign namespaces
- 1d6aeff - (Joshua Hoblitt) add Contributing section to README
- b7f7ff1 - (Joshua Hoblitt) update gmond el6 ERB based on 3.7.1-2.el6 packages
- c4133db - (Joshua Hoblitt) Merge pull request #54 from jhoblitt/feature/el-7-support
add preliminary el7.x support
- ba8c351 - (Joshua Hoblitt) add preliminary el7.x support
- 3ca8bab - (Joshua Hoblitt) Merge pull request #51 from jhoblitt/feature/puppet-4.0
Feature/puppet 4.0
-
0e0918f - (Joshua Hoblitt) unwind {install,config,service} pattern
-
convert from {install,config,service} pattern to monolithic classes
-
replace
scope.lookupvar()
in ERB templates with local variables -
update rspec-puppet puppet function test matchers
Principally motivated by the desire to replace scope.lookupvar()
calls in ERB
templates with ruby local variables as an attempt to escape from puppet 3.x's
insane :undef handling.
- df21f69 - (Joshua Hoblitt) update rspec-puppet gem version to ~> 2.2
For bugfixes and to allow the 2.x version to float as the API stability has been better than with the 1.x series.
- 3cc27ee - (Joshua Hoblitt) remove default nodset symlink
To resolve this PMT error: Puppet::ModuleTool::Errors::ModuleToolError: Found symlinks. Symlinks in modules are not allowed, please remove them.
- 2464cd6 - (Joshua Hoblitt) add centos 5.11 nodeset
- 6665692 - (Joshua Hoblitt) add puppet-blacksmith gem
- 82ad603 - (Joshua Hoblitt) add travis_lint rake target
- 0497067 - (Joshua Hoblitt) fix whitespace
- fca163b - (Joshua Hoblitt) add ruby 2.2 to travis matrix
- 0dc08c5 - (Joshua Hoblitt) add :validate to default rake target list
- caf39d4 - (Joshua Hoblitt) add metadata-json-lint gem
Needed by rake metadata.json validation target.
- 1555337 - (Joshua Hoblitt) update travis matrix puppet 3.x minimum version to 3.7
- dcf7ec8 - (Joshua Hoblitt) update rspec-puppet gem version to ~> 2.1.0
For compatibility with puppet 4.0.0
- 9cb84f9 - (Joshua Hoblitt) add junit/ to .gitiginore
Generated by beaker 5
- c3fe46c - (Joshua Hoblitt) add puppet 4.0 to travis matrix
- 3c2af63 - (Joshua Hoblitt) remove puppet 2.7 from travis matrix
4.0.0 has been released; support major release -1
- a030df6 - (Joshua Hoblitt) update beaker nodesets to use current chef/bento boxes
- b8ad5d6 - (Joshua Hoblitt) Merge pull request #53 from mrolli/feature/option_mcastif
Added option mcast_if for multicast configuration
- efa3342 - (Rolli, Michael (ID)) Additonal rspec tests for multicast configurations.
The test suite additionally features gmond configuration tests for multicast channel configuration within its own context.
- dfad23e - (Rolli, Michael (ID)) Added option mcast_if for multicast configuration
Often it is desirable to limit multicast traffic to certain interfaces only. gmond features the configuration option mcast_if for udp_send_channel and udp_recv_channels, which was added to gmond erb templates.
- d6a089d - (Joshua Hoblitt) Merge pull request #52 from mrolli/bugfix/gmetad-template-line-breaks-in-data-sources
Fix line breaks if not using arrays for ds.
- bff4bee - (Rolli, Michael (ID)) Fix line breaks if not using arrays for ds.
Fix missing line break if one does provide several hosts as string instead of an array. Previously if using the template without a host array the data sources got lined up on a single line.
v1.5.0
Feature/v1.5.0
Generated by beaker during acceptance testing.
gmetad.conf - adding support for managing 'all_trusted' and 'trusted_hos...
- 8858d19 - (Tim Skirvin) LICENSE - updating to 2015
- 9e493d0 - (Tim Skirvin) README.md - adding trusted_hosts and all_trusted to gmetad docs
- 8bc3e43 - (Tim Skirvin) gmetad.conf - adding support for managing 'all_trusted' and 'trusted_hosts'
Adds two optional parameters to gmetad.pp - 'all_trusted' (a boolean, default false), and 'trusted_hosts' (array of strings, default empty). These can be used to populate the corresponding fields in gmetad.conf.
Includes a spec file check for these parameters as well.
v1.4.1
Feature/v1.4.1
- c0b4f03 - (Joshua Hoblitt) bump version to v1.4.1
- 7ed2502 - (Joshua Hoblitt) allow future parser to fail in travis matrix
- 79fcdbf - (Joshua Hoblitt) update rspec tests for puppet 3.7.x future parser compatibility
- b50946b - (Joshua Hoblitt) pin rspec on Ruby 1.8.7 (rspec/rspec-core#1864)
- 043ddf5 - (Joshua Hoblitt) use rspec-puppet 2.0.0 from gems instead of git
- 4795cdd - (Joshua Hoblitt) add FACTER_GEM_VERSION to Gemfile
- c1b2b4b - (Joshua Hoblitt) Merge pull request #45 from cmurphy/fix_readme
Fix web example in README
- 1e2cfaa - (Colleen Murphy) Fix web example in README
- 5d7feb7 - (Joshua Hoblitt) Merge pull request #43 from drewr/master
::lsbmajdistrelease is a string now
Add fix for future parser in puppet 3.7.4
- 0f52488 - (Drew Raines) ::lsbmajdistrelease is a string now
- b300a84 - (Nick Le Mouton) Add fix for future parser in puppet 3.7.4 (Future parser seems to treat facts as strings).
v1.4.0
Feature/v1.4.0
- dc61baf - (Joshua Hoblitt) bump version to v1.4.0
- bd8073b - (Joshua Hoblitt) remove Encoding gem kludge from spec_helper.rb
- 714991e - (Joshua Hoblitt) replace Modulefile with metadata.json
- 8c528a4 - (Joshua Hoblitt) update spec_helper_acceptance to use #puppet_module_install
Instead of custom scp logic
- d87ab84 - (Joshua Hoblitt) change nodeset default to centos-65-x64
- 7b465f8 - (Joshua Hoblitt) update beaker nodesets from puppet-module_skel
- 56b414f - (Joshua Hoblitt) fix Gemfile w/s
- 58dba7b - (Joshua Hoblitt) update fixtures stdlib to 4.2.0
- 668a7d4 - (Joshua Hoblitt) Merge pull request #34 from NoodlesNZ/overridehostname
Fix problem with undef override_hostname
- b38c558 - (Nick Le Mouton) Fix problem with undef override_hostname
- d8d443a - (Joshua Hoblitt) Merge pull request #32 from NoodlesNZ/master
Change ganglia_port default to string
Feature/future parser
- 1978bdb - (Joshua Hoblitt) enable travis container based builds
- eda60cb - (Joshua Hoblitt) update rspec-puppet to v2.0.0 git tag
- 4549e6c - (Joshua Hoblitt) Merge pull request #36 from jhoblitt/feature/10_000-cuts-of-ruby-1.8.7
exclude beaker gems from travis
- 098eb2c - (Joshua Hoblitt) exclude beaker gems from travis
- 3ddba81 - (Nick Le Mouton) Fix port validation
- 9f896cc - (Joshua Hoblitt) Merge pull request #33 from NoodlesNZ/overridehostname
Added global_override_hostname
- c5b21f5 - (Nick Le Mouton) Add global_override_hostname Add gmond template interpolation
- 2aac7da - (Joshua Hoblitt) Merge pull request #30 from NoodlesNZ/globals
Additional work for PR #18
- cf9f899 - (Nick Le Mouton) Formatting etc
- ced568a - (Joshua Hoblitt) Merge pull request #31 from jhoblitt/feature/test_template_content
Add simple test coverage of gmetad.conf template
- 948b311 - (Joshua Hoblitt) fix linter 80char line warnings
- a31d4ed - (Joshua Hoblitt) fail on linter warnings
- 8f2196d - (Joshua Hoblitt) Add simple test coverage of gmetad.conf template
Per issue #2
- 3341c45 - (Nick Le Mouton) Removed note about specific changes to RHEL6/CentOS6
- 90fd18f - (Nick Le Mouton) Fixed scope
- 64bcedb - (Nick Le Mouton) Merge remote-tracking branch 'upstream/master' into globals
- 63cad00 - (Joshua Hoblitt) Merge pull request #27 from NoodlesNZ/master
Fix scope problem for gmetad config
- 824cc2b - (Nick Le Mouton) Fixing scope problems
- 1e1f655 - (Nick Le Mouton) Added additional params
- d25a2c4 - (Nick Le Mouton) Merge remote-tracking branch 'upstream/master' into globals
- 0203edb - (Joshua Hoblitt) Merge pull request #29 from NoodlesNZ/params
Added additional parameters to gmetad
- ef70409 - (Nick Le Mouton) Added additional parameters to gmetad
- 9d9face - (Joshua Hoblitt) Merge pull request #26 from jhoblitt/feature/future_parser
Feature/future parser
- 6f57915 - (Joshua Hoblitt) add compatibility with rspec 1.0.1+ exception handling
- a2a471f - (Joshua Hoblitt) add future parser to travis matrix
- a2e6d96 - (Joshua Hoblitt) Merge pull request #24 from NoodlesNZ/master
Added rspec test for ganglia_validate_rras()
Closes #24
- 1a0ef39 - (Nick Le Mouton) Added rspec test for ganglia_validate_rras()
- 67db493 - (Joshua Hoblitt) Merge pull request #22 from NoodlesNZ/master
Update gmetad.conf and add custom RRAs
- 4cf6433 - (Nick Le Mouton) Fixed gmetad_service_erb variable problem
- 23ca842 - (Nick Le Mouton) Fixed el6 case_sensitive_hostnames
- 21ef612 - (Joshua Hoblitt) Merge pull request #23 from jhoblitt/feature/beaker
Feature/beaker
- b2989ef - (Joshua Hoblitt) restrict the allow_virtual param to puppet 3.6.1+
The package type's allow_virtual param was added in puppet 3.6.1
- 3d5b5ec - (Joshua Hoblitt) add ruby 2.1.4 to travis matrix
- 3d5faeb - (Joshua Hoblitt) update .gitignore
- 1a8ae2c - (Joshua Hoblitt) remove stale ./tests dir
- 1e8d589 - (Joshua Hoblitt) remove puppet 2.7.14 from travis matrix
- fcc8a60 - (Joshua Hoblitt) fix gemetad.conf template on debian
- 4549c03 - (Joshua Hoblitt) fix ganglia user name on el6.x
- 19f6e90 - (Joshua Hoblitt) pin puppet-lint version < 1.1.0
To work around https://github.com/rodjek/puppet-lint/issues/331
-
bad9d02 - (Joshua Hoblitt) suppress the package types allow_virtual warning
Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
-
3cbefc9 - (Joshua Hoblitt) add beaker support
Largely cut'n'pasted from puppetlabs-concat
- 912be75 - (Joshua Hoblitt) remove rspec-system support
- 3c1997e - (Nick Le Mouton) Fixed validation issues
- aee3385 - (Nick Le Mouton) Fixed validation for xff
- 1c241e2 - (Nick Le Mouton) Added validation function into class
- 0066ecf - (Nick Le Mouton) Added validation for cf
- 8622e51 - (Nick Le Mouton) Changed xff, steps and rows params in gmetad to float/integer, integer and integer respectively. This makes it easier to validate
- 48f9c24 - (Nick Le Mouton) Initial work for ganglia_validate_rras()
- b23f94f - (Nick Le Mouton) Fixed grammar
- e935413 - (Nick Le Mouton) Fixed markdown
- c892fd0 - (Nick Le Mouton) Added documentation on RRAs
- d82d139 - (Nick Le Mouton) Added gmeta_case_sensitive_hostnames
- af4338d - (Nick Le Mouton) Re-added setuid_username
- 9a10187 - (Nick Le Mouton) Fixed whitespace issue on params.pp
- 32b2c66 - (Nick Le Mouton) Fixed RRAs format
- 07e8425 - (Nick Le Mouton) Use default rras for gmetad
- 4bcbfdd - (Nick Le Mouton) Changed gmetad template to gmetad.conf.erb
- 61cdc03 - (Nick Le Mouton) Trying to use params defaults for rras
- ef80fb6 - (Nick Le Mouton) Changed name of gmetad template
- e5cebcf - (Nick Le Mouton) Added custom RRAs to gmetad and updated gmetad.conf from ganglia repo
- 1095fc9 - (goungy) Renaming gangliaglobals variables to globals_ and adding description in the README
Renaming gangliaglobals variables to globals_ and adding description in the README
Removes trailing whitespace
- 4b1bc5f - (George Brown) Removes trailing whitespace
A number of files contained trailing whitespace, this has been removed with the following perl one-liner.
perl -pi -e 's/ +$//' *
Not having whitespace prevents confusing diff outputs such as the following.
https://github.com/jhoblitt/puppet-ganglia/pull/3#discussion-diff-7579522
Sets user to nobody on EL6
Removed lies from gmetad config for el6
- a594b40 - (George Brown) Sets user to nobody on EL6
As raised in the following PR the user nobody is used rather than ganglia on EL6.
https://github.com/jhoblitt/puppet-ganglia/pull/17
This change updates the default parameter value for the gmetad user and alters the gmond template to reflect this.
- 925f5f3 - (goungy) [EL6] Adding possibility to set udp_send_channel >bind_hostname in gmond.conf
[EL6] Adding possibility to set udp_send_channel >bind_hostname in gmond.conf
- 74c7db7 - (goungy) [EL6] Adding possibility to set ganglia->globals->send_metadata_interval for gmond.conf
[EL6] Adding possibility to set ganglia->globals->send_metadata_interval for gmond.conf
- 097cff6 - (goungy) [EL6] Adding possibility to set ganglia->globals->host_dmax parameter for gmond.conf
[EL6] Adding possibility to set ganglia->globals->host_dmax parameter for gmond.conf
- b6b5ab8 - (goungy) [EL6] Adding possibility to set ganglia->globals->deaf parameter for gmond.conf
[EL6] Adding possibility to set ganglia->globals->deaf parameter for gmond.conf
- 972e5ad - (Jonathan Beckman) Removed lies from gmetad config for el6
By default EL6 ganglia runs as nobody and not ganglia. This fixes the issue by changing the user that ganglia is run as to correct one according to the rest of the manifest.
v1.3.0
bump version to v1.3.0
- ef745e9 - (Joshua Hoblitt) bump version to v1.3.0
- 221b474 - (Joshua Hoblitt) Merge pull request #14 from jhoblitt/feature/validate_gmetad_clusters
Feature/validate gmetad clusters
- fbbeb0e - (Joshua Hoblitt) make ganglia_validate_clusters output consistently testable
Between Ruby 1.8.7 and 1.9.3+
- 59d378d - (Joshua Hoblitt) add docstring to ganglia_validate_clusters() function
- 53988e9 - (Joshua Hoblitt) deeply validate ganglia::gmetad's clusters parameter
This should address the confusing template error reported in #12 when incorrect data is passed to this parameter.
- aa98bee - (Joshua Hoblitt) update copyright notice year (-2014)
- 375dad9 - (Joshua Hoblitt) update .gitignore
- 57fde5b - (Joshua Hoblitt) Merge pull request #13 from xavpaice/master
Add IPv6 support for Debian based gmond
- bd53972 - (Xav Paice) Add send_metadata_interval at 300s to debian
Previously, the send_metadata_interval for gmond was set at 0 for Debian based systems, and 300 for Red Hat based systems. This change synchronizes the setting such that Debian is now 300s as well.
- d88c383 - (Xav Paice) Add IPv6 capability for RHEL/CentOS
For gmond.conf, add same capability as for Debian systems.
- d21f12e - (Xav Paice) Add IPv6 support for gmond listener
This commit adds the 'family' parameter for udp and tcp listeners for the gmond config, for Debian based systems.
- 9b84864 - (Xav Paice) Add IPv6 support for gmond listener
This commit adds the 'family' parameter for udp and tcp listeners for the gmond config, for Debian based systems.
- 37252ad - (Joshua Hoblitt) trim travis test matrix
v1.2.2
- 5f22d49 - (Joshua Hoblitt) bump version to v1.2.2
- b361ec4 - (Joshua Hoblitt) rm old Changelog (replaced by CHANGELOG.md)
v1.2.1
- 2f3a5c7 - (Joshua Hoblitt) bump version to v1.2.1
- 73457c5 - (Joshua Hoblitt) Merge pull request #11 from jhoblitt/gmond_template_array_checking
change gmond erb templates to gracefully handle nil variables
- 0c0d598 - (Joshua Hoblitt) change gmond erb templates to gracefully handle nil variables
These variables to ganglia::gmond may now safely be undef/nil:
- udp_send_channel
- udp_recv_channel
- tcp_accept_channel
v1.2.0
- 2555891 - (Joshua Hoblitt) bump version to v1.2.0
- ad95594 - (Joshua Hoblitt) update README param docs + boilerplate sections
- fe92cb2 - (Joshua Hoblitt) add param validation to ganglia::web class
- e4ed800 - (Joshua Hoblitt) Merge pull request #10 from jhoblitt/debian_support
add debian support
- 33aec0b - (Joshua Hoblitt) add debian support
v1.1.0
- 724099c - (Joshua Hoblitt) bump version to v1.1.0
- 25f68d1 - (Joshua Hoblitt) remove outdated 'all inherent from base' inheritance pattern
- a81c8a4 - (Joshua Hoblitt) add ubuntu compatibility to rspec-system tests
Conflicts: spec/classes/params_spec.rb
add extremely basic rspec-system tests
- ebccc4b - (Joshua Hoblitt) fix gmetad.conf handling of an undefined gridname param
- be89a48 - (Joshua Hoblitt) fix ganglia::gmetad::{install,config} ordering issue
ganglia::gmetad
would fail on el6.x when the /etc/ganglia dir wasn't present
as it was trying to create the configuration file before the RPM was installed
(which may create that dir). This wasn't seen in my test env as ganglia::gmond
/ the gmond RPM were always creating that dir. Turned up by the rspec-system
tests.
-
4380df1 - (Joshua Hoblitt) add extremely basic rspec-system tests
-
6c8d64f - (Joshua Hoblitt) resolve rspec-puppet > 1 deprecation warnings
DEPRECATION: include_class is deprecated. Use contain_class instead.
-
aed3ee5 - (Jeremy Kitchen) ubuntu has this fact set, so should the test
-
eb26bf1 - (Jeremy Kitchen) custom status command only applies to <= 12.10
-
106167c - (Jeremy Kitchen) fixed broken test for debian, added ubuntu/solaris
-
b70a999 - (Jeremy Kitchen) gmetad doesn't have a good status command on ubuntu
-
a9c4271 - (Jeremy Kitchen) ganglia-monitor service on ubuntu doesn't have a status command
-
91103d2 - (Jeremy Kitchen) I cant' tyep
-
a64c126 - (Jeremy Kitchen) port to ubuntu
v1.0.2
- e878d16 - (Joshua Hoblitt) bump version to v1.0.2
- fc74fe2 - (Joshua Hoblitt) implement anchor pattern
- 94b920c - (Joshua Hoblitt) update travis matrix
v1.0.1
- ed4fe88 - (Joshua Hoblitt) bump version to v1.0.1
- d327d2b - (Joshua Hoblitt) update erb templates to use instance variables
v1.0.0
- 0b6c068 - (Joshua Hoblitt) bump version to v1.0.0
- 2e4a9d4 - (Joshua Hoblitt) remove usage of $::lsbmajdistrelease fact
Instead use $::operatingsystemmajrelease as this fact is not dependant on redhat-lsb being present on the system.
- cd410c3 - (Joshua Hoblitt) tidy Rakefile quotes
- 3e285c8 - (Joshua Hoblitt) add GFMD highlighting to README
- e073c40 - (Joshua Hoblitt) set stdlib requirement to 3.0.0
- 0e49b51 - (Joshua Hoblitt) add puppet 3.3.0 to travis test matrix
- 49bb2c3 - (Joshua Hoblitt) puppet-lint should ignore pkg/**
- bad4cbb - (Joshua Hoblitt) exclude spec/fixtures/** from puppet-syntax checking
- dfa9fb2 - (Joshua Hoblitt) rm default init.pp from skel
- e36c256 - (Joshua Hoblitt) Merge remote-tracking branch 'skel/master'
- ed6a68b - (Joshua Hoblitt) ignore patch related files *{.orig,.rej,.patch}
- 6a67990 - (Joshua Hoblitt) add puppet-syntax support
- bdec024 - (Joshua Hoblitt) add travis-ci build placard
- 435661d - (Joshua Hoblitt) add travis-ci build placard
- fb932f9 - (Joshua Hoblitt) add example spec test
- d230e48 - (Joshua Hoblitt) exclude travis-ci testing of puppet < 3.2 with ruby >= 2.0
- 4050f0d - (Joshua Hoblitt) add a default .travis.yml
- ceb0ed4 - (Joshua Hoblitt) add puppet 3.2.0 to travis test set
- fae0e4a - (Joshua Hoblitt) git ignore Gemfile.lock
- 0005289 - (Joshua Hoblitt) install ruby gems from https://rubygems.org instead of :rubygems
To resolve this warning:
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or
'http://rubygems.org' if not.
- c46ff1e - (Joshua Hoblitt) git ignore Gemfile.lock
- e86f789 - (Joshua Hoblitt) install ruby gems from https://rubygems.org instead of :rubygems
To resolve this warning:
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or
'http://rubygems.org' if not.
- 95df6b6 - (Joshua Hoblitt) first commit
v0.0.2
- ebacad8 - (Joshua Hoblitt) change module version to v0.0.2
- 1f9ae00 - (Joshua Hoblitt) add a simple Changelog for the forge
- 6e4b622 - (Joshua Hoblitt) change license from GPLv2 or later to Apache 2.0
- 5c30593 - (Joshua Hoblitt) enable travis-ci support
- dc5469d - (Joshua Hoblitt) fix gmond template namespace issues with puppet >= 3
- a56b641 - (Joshua Hoblitt) cleanup code to pass puppet-lint and add the 'lint' rake target
- 19c28c4 - (Joshua Hoblitt) fill in Modulefile
- 1ed3432 - (Joshua Hoblitt) s/Redhat/RedHat/
- a3ef635 - (Joshua Hoblitt) add basic README.md
- 179bccb - (Joshua Hoblitt) change gmetad/gmond/web package installation to ensure => present instead of latest
- 69cd720 - (Joshua Hoblitt) add rdoc for ganglia::web
- 497ab53 - (Joshua Hoblitt) minor ganglia::gmetad example cleanups
- e7ee0d2 - (Joshua Hoblitt) fix ganglia::gmond example to be in valid puppet code instead of bastardized ruby
- ae66b95 - (Joshua Hoblitt) add rdoc for ganglia::gmetad
- a804415 - (Joshua Hoblitt) add default params for all ganglia::gmetad values
Defaults are set per the stock values in gmetad.conf from ganglia-gmetad-3.1.7-6.el6.x86_64
- 073c3d1 - (Joshua Hoblitt) stop trying to enforce a ganglia user uid/gid and remove ganglia::config
- 8df46ea - (Joshua Hoblitt) fix uid/gid for el5.x
- 05066dc - (Joshua Hoblitt) trivial grammar/caps
- a6be1fb - (Joshua Hoblitt) add rdoc for ganglia::gmond
- a762490 - (Joshua Hoblitt) add default params for all ganglia::gmond values
Defaults are set per the stock values in gmond.conf from ganglia-gmond-3.1.7-6.el6.x86_64
- c49a049 - (Joshua Hoblitt) add ganglia::web classes + simple test
- 3dfb047 - (Joshua Hoblitt) remove explicit reference to $ganglia::params namespace
- e34b894 - (Joshua Hoblitt) add trivial tests for ganglia::gmond & ganglia::gmetad
- 21884ff - (Joshua Hoblitt) use the same gmetad erb template for el5.x & el6.x
- ab1e680 - (Joshua Hoblitt) refactor gmetad to inherit gmetad::params and all other subclasses inherit it
- f2821e5 - (Joshua Hoblitt) refactor gmond to inherit gmond::params and all other subclasses inherit it
- 975840e - (Joshua Hoblitt) check for $::osfamily and fail() on unsupported platforms
- da86c3c - (Joshua Hoblitt) add forge and test template files
- dda8a6b - (Joshua Hoblitt) add support for setting the "gridname" in gmetad.conf
- 0009771 - (Joshua Hoblitt) add a newline to end of each data_source statement so that multiple statements don't end up on the same line
- 760cf71 - (Joshua Hoblitt) ii
Dependencies
- puppetlabs/stdlib (>= 5.0.0 < 7.0.0)
Copyright (C) 2012-2015 Joshua Hoblitt <jhoblitt@cpan.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.