This repository contains examples that show how you can use Bolt to automate complex tasks. Unlike the Hands-on Lab, these examples are not meant to be followed in any particular order. Each example includes step-by-step instructions, commands that you can copy and paste, and project files that you can download in advance.
This exercise will help you get Bolt installed on your system. If you are unfamiliar with Bolt or the Bolt Tasks ecosystem, it may be helpful to complete our Hands-on Lab as well. It walks through the basic concepts, including how to write your own tasks and plans that can be used with Bolt.
These examples cover more ways that you can leverage Bolt to automate complex tasks.
While you are developing an example there are a couple things you should keep in mind:
- The project directory name should be descriptive
- Examples should be written in an
index.mdfile and include a title and description in the front matter
- All other files should be in a directory named
- Content downloaded from the Puppet Forge should not be included - use a Puppetfile instead
A complete project directory may look something like this:
my-bolt-example/ ├── Boltdir | ├── inventory.yaml | ├── Puppetfile | └── site | └── my-module | ├── manifests/ | ├── plans/ | └── tasks/ └── index.md