Our life is frittered away by detail. Simplify, simplify!
—Henry David Thoreau
In this chapter, you will explore the details of Puppet classes and the distinction between defining a class and declaring a class, and also learn how to use parameters with classes and how to declare appropriate data types for your parameters. You'll learn how to create defined resource types, and how they differ from classes. You'll also see how to organize your Puppet code using the concepts of nodes, roles, and profiles.
We've come across classes a few times so far in this book, without really explaining them. Let's ...