Forge Home

pe_external_postgresql

A module for installing an external postgresql node for Puppet Enterprise

17,236 downloads

6,420 latest version

4.9 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

  • 3.0.0 (latest)
  • 2.0.1
  • 2.0.0
  • 1.1.1
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Aug 6th 2015
This version is compatible with:
  • Puppet Enterprise >= 3.0.0
  • , , , , ,
This module has been deprecated by its author since May 15th 2020.

Start using this module

Documentation

npwalker/pe_external_postgresql — version 1.0.4 Aug 6th 2015

Overview

This puppet module will configure an external postgresql node for your Puppet Enterprise infrastructure.

Module Description

It will do the following things:

Example Usage

In order to effectively use this module you will need to do the following in the context of installing PE.

  1. Install the PE agent on the node you want to make your external postgresql node
  • If you are installing a split installation you can install the puppet master node before installing this agent
  • If you are installing an all-in-one master you will need to install this agent and continue when it says it can't connect to the master
  1. Save something like the following to a file (maybe /tmp/postgresql_setup.pp) on your agent node but specify your own passwords
  •     class { 'pe_external_postgresql' :
          postgres_root_password  => 'pass1',
          puppetdb_db_password    => 'pass2',
          console_db_password     => 'pass3',
          classifier_db_password  => 'pass4',
          rbac_db_password        => 'pass5',
          activity_db_password    => 'pass6',
        }
    
  1. /opt/puppet/bin/puppet module install npwalker-pe_external_postgresql
  2. Run /opt/puppet/bin/puppet apply /tmp/postgresql_setup.pp on the agent node to install postgresql and setup the databases.

###Class: pe_external_postgresql

####postgres_root_password Sets the password for the postgres user.

####puppetdb_db_password Sets the password for the puppetdb user to connect to the puppetdb database

####console_db_password Sets the password for the console user to connect to the console database

####classifier_db_password Sets the password for the pe-classifier user to connect to the pe-classifier database

####rbac_db_password Sets the password for the pe-rbac user to connect to the pe-rbac database

####activity_db_password Sets the password for the pe-activity user to connect to the pe-activity database

####postgresql_version The version of postgresql to install. Defaults to 9.2.

If you are using PE 2015.2 you need to install 9.4