O'Reilly logo

Puppet Essentials by Felix Frank

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Establishing relationships among containers

Puppet's classes bear little to no similarity to classes you find in object-oriented programming languages such as Java or Ruby. There are no methods or attributes. You cannot create interfaces or abstract base classes. One of the few shared characteristics is the encapsulation aspect. Just as classes from OOP, Puppet's classes hide implementation details; to get Puppet to start managing a subsystem, you just need to include the appropriate class.

Passing events between classes and defined types

By sorting all resources into classes, you make it unnecessary (for your co-workers or other collaborators) to know about each single resource. This is beneficial. You can think of the collection of classes and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required