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, 2019 in Puppet by Sirajul
• 59,230 points
792 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, 2019 by Karan
• 19,610 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, 2019 in Puppet by Sirajul
• 59,230 points
681 views
–1 vote
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 15, 2019 in Puppet by Varshi
749 views
0 votes
1 answer

Error saying "Error: Could not autoload puppet/provider/package/rpm: No child processes." While installing gcc through puppet

Hey @Laksha, check your internet connectivity. You usually ...READ MORE

answered Feb 15, 2019 in Puppet by Jugnu
1,173 views
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, 2019 in Puppet by Krishti
706 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,034 views
+2 votes
1 answer
+3 votes
1 answer

etaddrinfo: Temporary failure in name resolution puppet

Your issue is similar to https://www.edureka.co/community/54484/request-certificate-getaddrinfo-temporary-failure-resolution?show=54484#q54484  Have a look ...READ MORE

answered Jan 6, 2020 in Puppet by Karan
• 19,610 points
3,968 views
+2 votes
1 answer

How do I trigger the puppet agent on slave to install docker using jenkins?

Hey @Mercy, you will have to write ...READ MORE

answered Aug 17, 2020 in Puppet by Karan
• 19,610 points
1,272 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