In this chapter, we used ruby to extend facter and define custom facts. Custom facts can be used in hiera
hierarchies to reduce complexity and organize our nodes. We then began writing our own custom modules and ran into a few problems with multiple defined resources. Two solutions were presented, virtual resources and refactoring the code. In the next chapter, we will be making our custom modules more useful with custom types.
Mastering Puppet
By :
Mastering Puppet
By:
Overview of this book
Table of Contents (17 chapters)
Mastering Puppet
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Dealing with Load/Scale
Organizing Your Nodes and Data
Git and Environments
Public Modules
Custom Facts and Modules
Reporting and Orchestration
Exported Resources
Roles and Profiles
Troubleshooting
Index
Customer Reviews