feat: Add bolt project example - #125
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a self-contained example Bolt project under bolt/ to demonstrate how Bolt can coexist with the existing Puppet control-repo layout and documents the new structure in README.md.
Changes:
- Introduces a new
bolt/project directory withbolt-project.yaml, exampleinventory.yaml, and Bolt-specific.gitignore. - Adds example Bolt-only plan and task implementations under
bolt/plansandbolt/tasks. - Updates
README.mdto document the Bolt project and expand the repository structure diagram (including anadhoc/module note).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents the new bolt/ project and updates the repo structure diagram. |
| bolt/bolt-project.yaml | Defines the Bolt project and modulepath/hiera integration with the control-repo. |
| bolt/inventory.yaml | Adds a commented example inventory file for Bolt targets/config. |
| bolt/.gitignore | Ignores Bolt cache/artifact files in the Bolt project directory. |
| bolt/plans/bolt_only_plan.pp | Adds an example Bolt-only plan. |
| bolt/tasks/bolt_only_task.json | Adds metadata for an example Bolt-only task. |
| bolt/tasks/bolt_only_task.sh | Adds the executable content for the example Bolt-only task. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fix: modulepath replaces the default configuration, add back in site-modules and modules for the local bolt project fix: use a better example plan that doesn't have obvious shell escape concerns maint: remove leading space to match adhoc's examples
zaben903
marked this pull request as ready for review
June 5, 2026 06:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a Bolt project to the repository, providing a dedicated structure for Bolt-specific plans, tasks, and configuration. The changes include documentation updates to describe the new Bolt project, the addition of example Bolt configuration files, and the creation of example Bolt-only plans and tasks. These updates make it easier to use Bolt alongside the existing control-repo structure.
Bolt Project Integration:
bolt/directory containing a Bolt project, includingbolt-project.yamlfor configuration,inventory.yamlas an example inventory, and.gitignorefor Bolt-specific files.bolt/plans/bolt_only_plan.ppand task files (bolt/tasks/bolt_only_task.json,bolt/tasks/bolt_only_task.sh) to demonstrate Bolt-specific functionality.Documentation and Structure Updates:
README.mdto document the new Bolt project, including a description, a link to Bolt project documentation, and an updated repository structure diagram highlighting the newbolt/directory and its contents.adhoc/module for ad-hoc tasks and plans.Resolves
#104