PuppetDB installation using puppet modules

0 votes
Can I Install PuppetDB from Puppet modules? could you please explain how?
Jul 30, 2019 in Puppet by Ken
852 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.

Step 1: 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.

Step 2: 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 puppetdband 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' }

These classes automatically configure most aspects of PuppetDB. 

For full details on how to use the module, see the PuppetDB module documentation on Puppet Forge. 

answered Jul 30, 2019 by Sirajul
• 59,230 points
How to connect my puppet master to PuppetDB?

Related Questions In Puppet

0 votes
1 answer

Check if my Lamp stack installation was successful using Puppet

If there were no errors, you should ...READ MORE

answered Mar 11, 2019 in Puppet by Bob
509 views
+5 votes
2 answers

How To Deploy Windows Server Using Puppet?

Deploying windows server through Puppet is similar ...READ MORE

answered Mar 27, 2018 in Puppet by shubham
• 7,340 points
1,862 views
0 votes
1 answer

Ram requirements for puppet installation

4 GB would be less for proper ...READ MORE

answered Dec 19, 2018 in Puppet by Alan
757 views
0 votes
1 answer

Advantages of using puppet

These are the few advantages that makes ...READ MORE

answered Feb 9, 2019 in Puppet by Manisha
538 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,005 views
+2 votes
1 answer
0 votes
1 answer

How to check the installed modules in puppet?

Puppet Module list command will list all ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 59,230 points
8,861 views
0 votes
1 answer

Can somebody explain the process of installing modules from the command line in puppet?

Puppet module install command installs a module ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 59,230 points
585 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP