Bolt 2.29.0 is now available

20 views
Skip to first unread message

Puppet Product Updates

unread,
Sep 21, 2020, 7:15:08 PM9/21/20
to

VERSION 2.29.0

in this release

✨  new features

  • You can now run a command with Bolt by reading the command from a file or from stdin on your local system. This is helpful if you need to run a script on a target, but are unable to upload files to the target. To learn how to read commands from a file or stdin, see Run a command on remote targets.

🔧  bug fixes

  • Bolt now more reliably initializes its logger so the logger includes all of Bolt's custom log levels.

VIEW FULL RELEASE NOTES

in the works

  • We're improving the workflow for managing Puppet module dependencies in Bolt projects. Spoiler alert: we do the dependency resolution for you!
  • We're also gearing up for Hacktoberfest 2020 by prepping a Bolt content wishlist. Reach out on Slack if you have requests for tasks, plans, or inventory plugins!
      
  • We're working on adding threading capabilities to plans.

nuts and bolts

Each month, we'll highlight a different Bolt feature and cover the details on what it is, why you might want to use it, and how it can be used in your workflows.

September's highlighted feature is: Bolt inventory!

What is a Bolt inventory?

The inventory is a YAML file in your Bolt project that describes the targets that you run Bolt commands on, along with any data and configuration for the targets. Targets in an inventory can belong to one or more groups, allowing you to share data and configuration across multiple targets and to specify multiple targets for your Bolt commands without the need to list each target individually.


Why should I use a Bolt inventory?

Inventories allow you to quickly and easily reference groups of targets from the command line, and set unique configuration on each target or group of targets. Inventories also let you share connection information with other members of your organization, and load dynamic inventory from a variety of sources like AWS, PuppetDB, or a command line prompt.


How do I create a Bolt inventory?

To create a new Bolt inventory, all you need to do is create a file named 
inventory.yaml in your project directory (next to bolt-project.yaml) or specify a file using --inventoryfile.


How do I create my own inventory plugin?

Want to load dynamic inventory from a new source? First, see if there's already an awesome third-party plugin for it. If you don't find it there, checkout our guide to writing plugins.

VIEW THE DOCUMENTATION
Tw Yt In

Bolt Documentation

Reply all
Reply to author
Forward
0 new messages