Category: puppet

There are times that you need to run a command against all the workloads or a subset of workloads based upon some node metadata such as an instance or virtual machine tag.

Puppet Bolt includes an Azure inventory plugin that enables the dynamic discovery of workloads in an Azure environment.

The first thing we need to do is to generate Azure credentials for Puppet Bolt to use when searching for virtual machines.

Now that we’ve defined the criteria for our Bolt inventory group we can run the bolt inventory show command to list the virtual machines that Bolt found for the group or groups specified.

This unlocks the ability to quickly run commands or scripts against a dynamic group of virtual machines in an Azure environment.

Related Articles