Source: martezreed.medium.com

Using Puppet Bolt with REST APIs
Puppet Bolt is an open source automation and orchestration tool. One of the common tasks in an orches tration workflow is interacting with an external system using a REST API.

A built-in task for making HTTP request calls was added in Bolt 2.30.0 and JSON output parsing was added in Bolt 2.32.0.

In order to utilize plans in Bolt, we need to create a directory named plans.

We’ll keep this plan as simple as possible to show how easy it is to use Puppet Bolt to make API calls.

Related Articles