Nginx is a fast, lightweight web server that is preferred over Apache in many contexts, especially where high performance is important. Nginx is configured slightly differently than Apache; like Apache though, there is a Forge module that can be used to configure nginx for us. Unlike Apache, however, the module that is suggested for use is not supplied by puppetlabs but by James Fryman. This module uses some interesting tricks to configure itself. Previous versions of this module used R.I. Pienaar's module_data
package. This package is used to configure hieradata within a module. It's used to supply default values to the nginx module. I wouldn't recommend starting out with this module at this point, but it is a good example of where module configuration may be headed in the future. Giving modules the ability to modify hieradata may prove useful.
Puppet Cookbook - Third Edition
Puppet Cookbook - Third Edition
Overview of this book
Table of Contents (17 chapters)
Puppet Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Puppet Language and Style
Puppet Infrastructure
Writing Better Manifests
Working with Files and Packages
Users and Virtual Resources
Managing Resources and Files
Managing Applications
Internode Coordination
External Tools and the Puppet Ecosystem
Monitoring, Reporting, and Troubleshooting
Index
Customer Reviews