The Puppet Language Basics course introduces five fundamental Puppet language concepts: resources, classes, modules, variables, and metaparameters. Each section is accompanied by a short video as well as some explainer text to give you additional context for each concept.
Watch this video for an overview of Puppet and its declarative language.
Resources can be collected, combined, and distributed together using classes. By combining resources into a class, a class can configure large blocks of functionality, containing all of the packages, configuration files, and services needed to run an application.
Watch this video for an overview of resources.
Puppet manifests are organized, stored, and distributed using modules. Modules are used to manage a specific task or application, such as installing or configuring a piece of software. They are how Puppet finds classes and types it can use.
Watch this video for an overview of modules.
As you write Puppet code, you may find yourself repeating the same values again and again. To save time and minimize errors, you can assign those repeating values to variables.
Watch this video for an overview of variables.
Metaparameters are special attributes that can be used with any resource type. They specify how your system should act toward the resource, rather than mapping directly to the system state. For this course, weโre going to focus on four common metaparameters that establish relationships between resources: before, require, notify, and subscribe.
Watch this video for an overview of parameters.
Comments
0 comments
Please sign in to leave a comment.