Puppet: Installing PuppetDB via Puppet module.

0 votes
How can i install puppetDB via module rather than installing it as a package?
related to an answer for: Puppet: How do i install PuppetDB?
Aug 27 in Puppet by Sirajul
• 37,480 points
12 views

1 answer to this question.

0 votes

You can install and configure all of PuppetDB’s components and prerequisites (including PuppetDB itself, PostgreSQL, firewall rules on RedHat-like systems, and the PuppetDB-termini for your Puppet master) using the PuppetDB module from the Puppet Forge.

Enable the Puppet Platform package repository:

  • If you haven’t done so already, you will need to do one of the following:

  • Enable the puppet platform package repository on your PuppetDB server and Puppet master server.

  • Grab the PuppetDB and PuppetDB-termini packages, and import them into your site’s local package repos.

​​Assign classes to nodes:

Using the normal methods for your site, assign the PuppetDB module’s classes to your servers.

 You have three main options for deploying PuppetDB:

  • If you are installing PuppetDB on the same server as your Puppet master, assign the puppetdb and puppetdb::master::config classes to it.

  • If you want to run PuppetDB on its own server with a local PostgreSQL instance, assign the puppetdb class to it, and assign the puppetdb::master::config class to your Puppet master. Make sure to set the class parameters as necessary.

  • If you want PuppetDB and PostgreSQL to each run on their own servers, assign the puppetdb::server class and the puppetdb::database::postgresql classes to different servers, and the puppetdb::master::config class to your Puppet master. Make sure to set the class parameters as necessary.

Note:  By default, the module sets up the PuppetDB dashboard to be accessible only via localhost.

 If you’d like to allow access to the PuppetDB dashboard via an external network interface, set the listen_address parameter on either of the puppetdb or puppetdb::server classes as follows:

class { 'puppetdb': 
listen_address => 'example.foo.com' 
}
answered Aug 27 by Karan
• 5,500 points

Related Questions In Puppet

0 votes
1 answer

Puppet+Kubernetes : How do i install the kubernetes module via Bolt?

In order to get started with using ...READ MORE

answered Aug 23 in Puppet by Sirajul
• 37,480 points
30 views
0 votes
1 answer

Errors and warnings while installing graphite server using puppet.

Hey @Harish, If you puppet modules is /etc/puppet/modules, ...READ MORE

answered Feb 14 in Puppet by Varshi
24 views
0 votes
1 answer
0 votes
1 answer

Are there any pre-requisites while installing Puppet for windows?

Puppet masters run only on Linux or ...READ MORE

answered Feb 21 in Puppet by Krishti
38 views
0 votes
1 answer

Problems occurred while installing Puppet on Ubuntu

Hey @Dipti, you could execute the following ...READ MORE

answered Feb 25 in Puppet by Nandita
25 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
212 views
0 votes
1 answer