What is a Bolt project? A Bolt project is a directory that serves as the launching point for Bolt and allows you to create a shareable orchestration application that members of your team can quickly start using. Bolt projects contain all of the configuration and content relevant to your project, including the inventory file and content such as tasks and plans. Why should I use a Bolt project?
Bolt projects make it easier to manage your Bolt project and can be utilized by other tools that use Bolt content. Additionally, Bolt projects enable several features that benefit both project authors and project consumers. - Content allowlists
Project authors can specify an allowlist for both tasks and plans in their project's configuration, limiting which tasks and plans appear in the user interface.
- Project-level content
Project authors can quickly develop Bolt and Puppet content in the project directory without the need to create a module, speeding up the process of writing new tasks, plans, and manifests.
- Generate new plans
Projects enable the bolt plan new command, which will create a new plan in the project's plans directory.
How do I create a Bolt project?
To create a new Bolt project, all you need to do is create a file named bolt-project.yaml in your project directory and give your project a name by setting the name key in the file.
You can also have Bolt create a Bolt project for you by running the bolt project init command in Unix shells or the New-BoltProject command in PowerShell.
|