Forge Home

dropsonde

Manages and configures the reporting of Puppet telemetry data.

4,709 downloads

1,114 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.

Version information

  • 0.2.0 (latest)
  • 0.1.0
  • 0.0.5
  • 0.0.4
  • 0.0.3
released Dec 16th 2021
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 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, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 8.0.0
  • , , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'puppetlabs-dropsonde', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-dropsonde
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-dropsonde --version 0.2.0

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

puppetlabs/dropsonde — version 0.2.0 Dec 16th 2021

dropsonde

This module installs and manages the Dropsonde Puppet telemetry client. See the documentation on its repository page for information about the project.

Table of Contents

  1. Description
  2. Usage - Configuration options
  3. Limitations
  4. Development - Guide for contributing to the project

Description

We both know that you hate telemetry as much as I do. So what makes this different? At its core, the purpose and design of this module is for your own benefit as much as it is for ours. Think back to the time you last visited the Forge to find a module. Chances are that you discovered many modules that claimed to solve your problem and it was relatively difficult choosing between them. Surfacing usage data in a way that lets you signal approval simply by using a module is the primary goal of this project.

This means that the best way for you to help yourself find new modules is to install this telemetry tool and, along with your peers, share your module usage data.

Managed resources:

  • Installs the dropsonde gem.
  • Manages configuration at /etc/puppetlabs/telemetry.yaml.
  • Manages a weekly cronjob to submit the report at a time randomized for each infrastructure.

Usage

The simplest use case is just to declare the module and accept defaults:

include dropsonde

If you prefer, you can configure several settings, such as:

class { 'dropsonde':
  disable => ['puppetfiles', 'modules'],
  seed    => 'banana pancakes'
}

The full list of options is:

  • disable
    • An array of metrics that you don't want to report. See the available settings by running /opt/puppetlabs/puppet/bin/dropsonde list.
  • enable
    • An array of metrics that you allow to report on. All other metrics will be skipped. See the available settings by running /opt/puppetlabs/puppet/bin/dropsonde list.
  • update
    • Set to false to prevent the tool from automatically updating its list of names of public Forge modules. Only do this if you're behind a firewall that blocks access to the Forge and you're planning on manually updating this periodically yourself.
  • cachepath
    • The list of public Forge modules is normally stored in Puppet's vardir. You may set the path to a different directory here if you'd like.
  • ttl
    • How many days before the tool updates the list of public Forge modules.
  • seed
    • If you'd like to change your Site ID then make up and enter a random number or string here.
  • use_cron parameter
    • Enable/disable cron functionality(true/false enable/disable cron job creation)

      Note: The use_cron parameter is set to true by default as the module will configure and set a cron job for the dropsonde gem to gather the required information periodically. We have decided to allow users to disable the cron functionality to be able to use this module and the dropsonde gem with different other schedulers. In the example bellow we disable cron as we decided to install the gem on a puppetserver machine where the integrated scheduler will assure the required functionality. Here is how you disable the cron functionality: class { 'dropsonde': use_cron => false, }. include dropsonde or class { 'dropsonde': } will set a cron job for dropsonde gem.

Limitations

This module is currently only tested on Puppet supported platforms.

Development

There's very little interesting development going on with the module, but we'd love to get your help on gathering the right metrics and aggregating them in ways that provide the most community benefits without compromising privacy.