This repository has been archived by the owner on Jul 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 170
Make generate repo default to policyfiles + cleanup generated readme content #2050
Merged
Conversation
This file contains 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
tas50
force-pushed
the
generator_cleanup
branch
6 times, most recently
from
May 7, 2019 07:18
0574e73
to
10eadcf
Compare
tas50
changed the title
WIP: Further cleanup of the generated Chef data
Make generate repo default to policyfiles + cleanup generated readme content
May 7, 2019
tas50
force-pushed
the
generator_cleanup
branch
4 times, most recently
from
May 8, 2019 20:06
4bcf0c5
to
431fc29
Compare
tas50
requested review from
lamont-granquist,
btm,
jonsmorrow,
tyler-ball and
robbkidd
May 8, 2019 23:48
lamont-granquist
approved these changes
May 9, 2019
mjingle
reviewed
May 9, 2019
# frozen_string_literal: true | ||
# This is a Chef recipe file. It can be used to specify resources which will | ||
# apply configuration to a server. | ||
# This is a Chef Infra Clientt recipe file. It can be used to specify resources |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
# This is a Chef Infra Clientt recipe file. It can be used to specify resources | |
# This is a Chef Infra Client recipe file. It can be used to specify resources |
mjingle
reviewed
May 9, 2019
lib/chef-dk/skeletons/code_generator/files/default/repo/data_bags/README.md
Show resolved
Hide resolved
Can you update the top level |
mjingle
reviewed
May 9, 2019
lib/chef-dk/skeletons/code_generator/files/default/repo/roles/README.md
Outdated
Show resolved
Hide resolved
mjingle
reviewed
May 9, 2019
lib/chef-dk/skeletons/code_generator/files/default/repo/environments/README.md
Outdated
Show resolved
Hide resolved
mjingle
reviewed
May 9, 2019
lib/chef-dk/skeletons/code_generator/files/default/repo/data_bags/README.md
Outdated
Show resolved
Hide resolved
mjingle
reviewed
May 9, 2019
tyler-ball
approved these changes
May 9, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 after getting release notes updated
mjingle
reviewed
May 9, 2019
lib/chef-dk/skeletons/code_generator/files/default/repo/README.md
Outdated
Show resolved
Hide resolved
mjingle
reviewed
May 9, 2019
lib/chef-dk/skeletons/code_generator/files/default/repo/README.md
Outdated
Show resolved
Hide resolved
mjingle
reviewed
May 9, 2019
@@ -327,11 +327,11 @@ def generator_context | |||
<<~README | |||
Create roles here, in either the Role Ruby DSL (.rb) or JSON (.json) files. To install roles on the server, use knife. | |||
|
|||
For example, in this directory you'll find an example role file called `example.json` which can be uploaded to the Chef Server: | |||
For example, in this directory you'll find an example role file called `example.json` which can be uploaded to the Chef Infra Server: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
For example, in this directory you'll find an example role file called `example.json` which can be uploaded to the Chef Infra Server: | |
For example, in this directory, you'll find an example role file called `example.json`, which can be uploaded to the Chef Infra Server: |
We missed a few Signed-off-by: Tim Smith <tsmith@chef.io>
Match our current best practices Signed-off-by: Tim Smith <tsmith@chef.io>
Rubocop doesn't recommend this now. The string literals can has been kicked down the road a bit further. Signed-off-by: Tim Smith <tsmith@chef.io>
Remove references to the wiki and a nonsense statement about tarballs. Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
This is a Chef 11-ism that we don't need to do anymore Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
This should be here as well Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
These don't matter the way we're using this Signed-off-by: Tim Smith <tsmith@chef.io>
Never miss an opportunity to drop a brand name. Signed-off-by: Tim Smith <tsmith@chef.io>
Work around foodcritic issues Signed-off-by: Tim Smith <tsmith@chef.io>
This made no sense Signed-off-by: Tim Smith <tsmith@chef.io>
I'll have it all soon Signed-off-by: Tim Smith <tsmith@chef.io>
Savages Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
These are sane defaults for DK 4 / Chef 15 land Signed-off-by: Tim Smith <tsmith@chef.io>
Without the pid_one_command bit it won't work Signed-off-by: Tim Smith <tsmith@chef.io>
Get people using the new format with major versions only so eventually we can stop generating every point release in Fauxhai. Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
When someone is creating their new chef repo from scratch set it up with policyfiles
Update kitchen.yml to describe the modern way of specifying product_version
Make metadata.rb require Chef 14+
Improve readme text in various generated readme files
Improve help descriptions of the depsolvers
Remove the frozen_string_literal: true comments in the generated code
Chef / Chef Server -> Che Infra Client / Chef Infra Server
Remove references to the old wiki site
Generate a working dokken config
Generate cookbooks that require Che 14+ not Chef 13+
Set the commented out product_version in the kitchen configs to Chef 15 not 14
Generate modern ChefSpecs with platform versions that won't need to be updated every year