Skip to content
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

Ma/update all the things #1482

Merged
merged 2 commits into from
Apr 9, 2018
Merged

Ma/update all the things #1482

merged 2 commits into from
Apr 9, 2018

Conversation

markan
Copy link
Contributor

@markan markan commented Apr 5, 2018

This has two major parts:

  • Bundle update Gemfile locks
  • Update to use Chef 13, including a bunch of cookbook and tool fixes.

We have a lot of stale dependencies in various corners, this is a
simple refresh of those to clean things up.

Signed-off-by: Mark Anderson <[email protected]>
@markan markan requested a review from a team April 5, 2018 01:34
@lamont-granquist
Copy link
Contributor

the java options make my head hurty just a bit, but it looks correct. what it was doing before was very naughty.

Copy link
Contributor

@thommay thommay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question but a huge 👍

delete "#{install_dir}/embedded/lib/ruby/gems/2.3.0/cache/*.gem"
delete "#{install_dir}/embedded/service/gem/ruby/2.3.0/cache/*.gem"
delete "#{install_dir}/embedded/lib/ruby/gems/2.4.0/cache/*.gem"
delete "#{install_dir}/embedded/service/gem/ruby/2.4.0/cache/*.gem"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this just be .../ruby/2.*/cache/*.gem so we don't have to update every ruby version bump?

Copy link
Member

@marcparadise marcparadise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Java opts are a nice improvement over what we were doing, thanks for making that more sane.

Bump Chef and Ohai to Chef 13.

Update cookbooks for devvm and installation to be compatible with Chef
13. This fixes constructs that were deprecated or removed in Chef 13, including:

+ CHEF 4: Set is deprecated
+ CHEF 4: Only use map syntax for attributes
+ CHEF 3694: Remove resource cloning (accidental in this case)
+ CHEF 9: Chef::REST API removed
+ String attributes are frozen
+ Providers need to have provides clauses

See https://docs.chef.io/release_notes.html and https://docs.chef.io/chef_deprecations_client.html for more details.

Signed-off-by: Mark Anderson <[email protected]>
@markan markan force-pushed the ma/update_all_the_things branch from a4ff989 to 6c2eed0 Compare April 9, 2018 20:38
@markan markan merged commit 62d9e7c into master Apr 9, 2018
@markan markan deleted the ma/update_all_the_things branch April 23, 2018 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants