O'Reilly logo

Learning Puppet for Windows Server by Fuat Ulugay

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

Chapter 3. Your First Modules

In the previous chapter, we learned the installation of Puppet agents on multiple hosts. Now, we will start writing our first modules. We will cover the following topics in this chapter:

  • Module structure and defining modules
  • Modules to create files and directories
  • Assigning classes to hosts and hosts groups
  • Modules to manage services
  • Modules to manage users
  • Modules to run commands

The module structure

We will start with the basic module structure. Puppet uses manifests to apply settings to hosts. Puppet manifests are the files containing the Puppet code. The manifests, files, and data are packed as a module structure. You can write your own modules or you can download pre-built open source modules from the Puppet Forge. We ...

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