VERSION 3.8.0

*in this release*

✨  *new features*

   - The puppet_agent::facts_diff task has a new exclude parameter which
   can be used to exclude specific facts from the diff. For more information
   about this task, see the module documentation
   <https://forge.puppet.com/modules/puppetlabs/puppet_agent/tasks> on the
   Puppet Forge.
   - You can now look up values in Hiera from the Bolt command line using
   the new bolt lookup shell command and Invoke-BoltLookup Powershell
   cmdlet. Lookups are performed in the context of a target, and Bolt
   automatically collects a target's facts before looking up a value. For more
   information about using this command, see the documentation
   
<https://puppet.com/docs/bolt/latest/hiera.html#look-up-data-from-the-command-line>
   .
   - Bolt now supports loading files and scripts using their fully
   qualified names. This behavior is opt-in only and is the first phase in a
   multi-phase process of moving Bolt towards using fully qualified names for
   files and scripts. For more information about this change, how it will be
   phased in over time, and how to opt-in to the new behavior, see the
developer
   update
   
<https://puppet.com/docs/bolt/latest/developer_updates.html#how-bolt-loads-scripts>
   .

🚨  *removals*

   - The puppet5 collection is no longer available to the
   puppet_agent::install task, as Puppet 5 has reached end of life.


VIEW FULL RELEASE NOTES
<https://github.com/puppetlabs/bolt/blob/main/CHANGELOG.md#bolt-380-2021-05-03>

*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.

May's highlighted feature is: *scripts*!

*What is a script?*

A script is a list of commands that are executed by a certain program or
scripting engine. Scripts may be used to automate processes. Script files
are usually just text documents that contain instructions written in a
certain scripting language. When opened by the appropriate scripting
engine, the commands within the script are executed.

Bolt can execute scripts either on the command line or from a Bolt plan
using the run_script() function.


*How is a script different from a task?*

Bolt tasks are similar to scripts, but they are kept in modules and
optionally have a defined API for input into the task and output from the
task. This allows you to reuse and share them, and interact with them
programmatically more easily. Using the API capabilities of tasks requires
adding a JSON metadata file next to the task, which oftentimes is
unnecessary work for users who simply want to run a script.

VIEW THE DOCUMENTATION
<https://puppet.com/docs/bolt/latest/running_bolt_commands.html#run-a-script>
[image: Tw] <https://twitter.com/puppetize> [image: Yt]
<https://www.youtube.com/channel/UCPfMWIY-qNbLhIrbZm2BFMQ> [image: In]
<https://www.linkedin.com/company/puppet/>

*Bolt Documentation <https://puppet.com/docs/bolt/latest/bolt.html>*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CAGdD-pXsSGzBWNmFcCqg%3D-Z%3DgQ-p0VbMiKxsxqb83eN7d1x%2Bxg%40mail.gmail.com.

Reply via email to