Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Puppet

You're reading from   Mastering Puppet Mastering Puppet for network programming enables developers to pull the strings of Puppet and configure enterprise-level environments for optimum performance

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783982189
Length 280 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Thomas Uphill Thomas Uphill
Author Profile Icon Thomas Uphill
Thomas Uphill
Arrow right icon
View More author details
Toc

Store


To enable the store mechanism, use reports = store. We'll add this to our log destination in this example, as shown in the following snippet:

[main]
  reports = log, store

The default location for reports is reportdir. To see your current reportdir directory, use the --configprint option of master, as shown in the following snippet:

# puppet master --configprint reportdir
/var/lib/puppet/reports

The store option is on by default; however, once you specify the reports setting as anything in the main section of puppet.conf, you disable store. By placing log and store in reports, we will have both reports. Remember though, once you enable store for reports, report files will start accumulating on the master. It's a good idea to enable purging of those reports. In our multiple worker scenario, it's a good idea to set report_server in the agent section of the nodes if you are using log or store, as shown in the following commands. The default setting for report_server is the same as the server...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime