PuppetDB Installation Guide

Source: Internet
Author: User

PuppetDB Installation
#######################################
June 23, 2014 10:25:36
I. Installation Requirements:
1. JDK 1.7 or later
2. Puppet3.5.1 or later
3. Puppet has been configured to run Puppet agent -- test. No problem.
Ii. Installation Steps
1. puppet source is configured
2. apt-get install puppetdb
3. apt-get install puppet-terminus
Iii. Configuration
1. Configure/etc/puppet. conf
Add the following content:
[Master]
Storeconfigs = true
Storeconfigs_backend = puppetdb
Reports = store, puppetdb
2. Configure/etc/puppet/puppetdb. conf
[Main]
Server = puppetdb.example.com
Port = 8081
3. Configure/etc/puppet/routes. yaml
Add the following content:
---
Master:
Facts:
Terminus: puppetdb
Cache: yaml
4. Restart Puppet Master
Service puppetmaster restart
5. Start puppetdb
Service puppetdb start
Puppetdb logs are stored in/var/log/puppetdb. log.
Vi. Test
Select any agent in the Puppet cluster for execution.
Puppet agent -- test
Check the log on the PuppetDB machine. The following two lines are displayed, indicating that the installation is complete:
13:08:41, 664 INFO [command-proc-67] [puppetdb. command] [85beb105-5f4a-4407-a5ed-cdf0d07aa1a5] [replace facts] screech.example.com
13:08:45, 993 INFO [command-proc-67] [puppetdb. command] [3a910863-6b33-4717-95d2-39edf92c8610] [replace catalog] screech.example.com
For API usage of PuppetDB, see: http://docs.puppetlabs.com/puppetdb/2.0/api/query/v4/nodes.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.