-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure 'modules' with 'bolt project init' #2210
Comments
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Sep 24, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
beechtom
added
Blocked
Work blocked by other issues or PRs.
Do Not Merge
Work that should not be merged yet.
labels
Sep 24, 2020
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Sep 28, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 10, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 10, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
lucywyman
removed
Blocked
Work blocked by other issues or PRs.
Do Not Merge
Work that should not be merged yet.
labels
Nov 11, 2020
lucywyman
added a commit
that referenced
this issue
Nov 11, 2020
(GH-2210) Configure 'modules' with 'bolt project init'
lucywyman
added a commit
that referenced
this issue
Nov 11, 2020
beechtom
added a commit
that referenced
this issue
Nov 11, 2020
…ject-init Revert "(GH-2210) Configure 'modules' with 'bolt project init'"
beechtom
added a commit
to beechtom/bolt
that referenced
this issue
Nov 11, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
9 tasks
lucywyman
added a commit
that referenced
this issue
Nov 20, 2020
(GH-2210) Configure 'modules' with 'bolt project init'
dontlaugh
pushed a commit
to dontlaugh/bolt
that referenced
this issue
Dec 18, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
dontlaugh
pushed a commit
to dontlaugh/bolt
that referenced
this issue
Dec 18, 2020
dontlaugh
pushed a commit
to dontlaugh/bolt
that referenced
this issue
Dec 18, 2020
This updates the `bolt project init` command to configure `modules` in `bolt-project.yaml`, allowing users with new projects to immediately start using the module workflow. - If `bolt project init` is run, `modules` will be an empty array `[]` - If `bolt project init --modules` is run, `modules` will be an array of declarations for the specified modules This also updates the command so that it can only be run once per project. Previously, if a project had a configuration file, but no `Puppetfile`, the `bolt project init --modules` command would still install modules. Now, Bolt will error in this case and display a helpful error that the user should instead use the `bolt module add` command. !feature * **Configure `modules` with `bolt project init`** ([puppetlabs#2110](puppetlabs#2210)) The `bolt project init` command will now configure the `modules` key in the `bolt-project.yaml` file, enabling the `bolt module` command.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Case
To simplify the process of getting started with the module workflow, the
bolt project init
command should be updated to configuremodules
inbolt-project.yaml
.Describe the Solution You Would Like
--modules
,modules
should have an array of module declarations--modules
,modules
should be an empty arraybolt-project.yaml
, but noPuppetfile
, thebolt-project.yaml
should be updated to configuremodules
Questions
Puppetfile
seems a bit odd. Do we want to take this opportunity to havebolt project init
only run if there is nobolt-project.yaml
? Maybe not until 3.0, as this is a breaking change?Additional Context
The text was updated successfully, but these errors were encountered: