Forge Home

carbon

Manage carbon-cache/relay via systemd

15,403 downloads

9,150 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.8 (latest)
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jun 20th 2016
This version is compatible with:
  • ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'camptocamp-carbon', '0.1.8'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add camptocamp-carbon
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install camptocamp-carbon --version 0.1.8

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

camptocamp/carbon — version 0.1.8 Jun 20th 2016

Carbon-cache/relay for Puppet

Puppet Forge Build Status

*Manages carbon-cache and carbon-relay with systemd

Classes

  • carbon

carbon

Only this class must be used

Usage

Default usage with multiple carbon-cache instances:

class {'::carbon':
  carbon_host  => '127.0.0.1',
  carbon_group => '_graphite',
  carbon_user  => '_graphite',
  instances    => {
    'a': {
      ensure => present,
      cache_query_interface => '127.0.0.2',
      log_cache_hits => 'True',
    },
    'b': {
      ensure => present,
      cache_query_interface => '127.0.0.1',
      log_cache_hits => 'True',
    },
    'c': {
      ensure => absent,
    },
    ...
  },
  storage_dir  => '/srv/carbon',
}

Usage for default instance (as installed by distro packages):

class {'::carbon':
  mono_instance => true,
  storage_dir  => '/srv/carbon',
}

Definitions

  • carbon::instance

carbon::instance

This definition should NOT be used directly, please use carbon class instead!

Contributing

Please report bugs and feature request using GitHub issue tracker.

For pull requests, it is very much appreciated to check your Puppet manifest with puppet-lint to follow the recommended Puppet style guidelines from the Puppet Labs style guide.

License

Copyright (c) 2013 puppet@camptocamp.com All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.