Forge Home

puppetmaster

Puppet module for Puppetmaster

13,423 downloads

10,272 latest version

3.5 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.0.8 (latest)
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.2
  • 0.0.1
released Jun 3rd 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'fsalum-puppetmaster', '0.0.8'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add fsalum-puppetmaster
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install fsalum-puppetmaster --version 0.0.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

fsalum/puppetmaster — version 0.0.8 Jun 3rd 2014

Puppet Master Module for Puppet

Build Status

Use this module to deploy a puppetmaster server via 'puppet apply' command and avoid using a few manual steps.

Requirements

It requires the PuppetLabs Repository added before using the module on Debian systems. Use:

$ puppet module install puppetlabs-apt

And then add data below to your node resource:

  apt::source { 'puppetlabs':
    location   => 'http://apt.puppetlabs.com',
    repos      => 'main',
    key        => '4BD6EC30',
    key_server => 'pgp.mit.edu',
  }

Quick Start

$ puppet module install fsalum-puppetmaster

Include the following in your master.pp if you plan to install puppetmaster with passenger:

     package { 'puppetmaster-passenger': 
       ensure => installed, 
     }

     class { puppetmaster:
       puppetmaster_service_ensure       => 'stopped',
       puppetmaster_service_enable       => 'false',
       puppetmaster_report               => 'true',
       puppetmaster_autosign             => 'true',
       puppetmaster_modulepath           => '$confdir/modules:$confdir/modules-0',
     }

And run:

$ puppet apply --modulepath /etc/puppet/modules master.pp

Parameters

You can also set some extra parameters to enable or disable a few options:

  • puppetmaster_package_ensure

    Specify the package update state. Defaults to 'present'. Possible value is 'latest'.

  • puppetmaster_service_ensure

    Specify the service running state. Defaults to 'running'. Possible value is 'stopped'.

  • puppetmaster_service_enable

    Specify the service enable state. Defaults to 'true'. Possible value is 'false'.

  • puppetmaster_server

    Specify the Puppet Master server name.

  • puppetmaster_certname

    Specify the Puppet Master certificate name. It is usually the server hostname.

  • puppetmaster_report

    Send reports after every transction. Defaults to 'true'. Possible value is 'false'.

  • puppetmaster_autosign

    Whether to enable autosign. Defaults to 'false'. Possible value is 'true' or file path.

  • puppetmaster_reports

    List of reports to generate. See documentation for possible values.

  • puppetmaster_reporturl

    The URL used by the http reports processor to send reports.

  • puppetmaster_facts_terminus

    The node facts terminus. Defaults to facter. Possible value is 'PuppetDB'.

  • puppetmaster_modulepath

    Defines the module path.

  • puppetmaster_templatepath

    Defines the template path.

Author

Felipe Salum fsalum@gmail.com