Skip to content

Instantly share code, notes, and snippets.

@tas50
Created February 7, 2020 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tas50/ee10278f6ee917e3d7ba4c7f6dbf3d26 to your computer and use it in GitHub Desktop.
Save tas50/ee10278f6ee917e3d7ba4c7f6dbf3d26 to your computer and use it in GitHub Desktop.
❰tsmith❙~/dev/work/vscode-chef/autogeneration(git:master)❱✘≻ rake
** Invoke default (first_time)
** Invoke generate_snippets (first_time)
** Execute generate_snippets
bundle install --no-deployment
Using rake 13.0.1
Using bundler 1.17.3
Using chef-utils 16.0.50 from https://github.com/chef/chef (at master@a0645da)
1 Update docker? to be from 12.11 onwards
Using coderay 1.1.2
Using method_source 0.9.2
Using pry 0.12.2
Using yard 0.9.24
Bundle complete! 4 Gemfile dependencies, 7 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bundle update
Fetching https://github.com/chef/chef
Fetching gem metadata from https://rubygems.org/............
Resolving dependencies...
Using rake 13.0.1
Using bundler 1.17.3
Using chef-utils 16.0.56 (was 16.0.50) from https://github.com/chef/chef (at master@bc657c2)
Using coderay 1.1.2
Using method_source 0.9.2
Using pry 0.12.2
Using yard 0.9.24
Bundle updated!
bundle install --deployment
Fetching gem metadata from https://rubygems.org/............
Fetching https://github.com/chef/chef
Using rake 13.0.1
Using bundler 1.17.3
Using chef-utils 16.0.56 from https://github.com/chef/chef (at master@bc657c2)
Using coderay 1.1.2
Using method_source 0.9.2
Using pry 0.12.2
Using yard 0.9.24
Bundle complete! 4 Gemfile dependencies, 7 gems now installed.
Bundled gems are installed into `./vendor/bundle`
** Execute yard_for_generate_documentation
Files: 10
Modules: 12 ( 10 undocumented)
Classes: 0 ( 0 undocumented)
Constants: 0 ( 0 undocumented)
Attributes: 0 ( 0 undocumented)
Methods: 111 ( 0 undocumented)
91.87% documented
** Execute default
❰tsmith❙~/dev/work/vscode-chef/autogeneration(git✱master)❱✔≻ git diff
diff --git a/snippets/chef_utils.json b/snippets/chef_utils.json
index 48f9a70..e919889 100644
--- a/snippets/chef_utils.json
+++ b/snippets/chef_utils.json
@@ -122,7 +122,7 @@
"docker?": {
"prefix": "docker?",
"body": "docker?",
- "description": "Determine if the node is a docker container. Introduced in Chef Infra Client 15.5.",
+ "description": "Determine if the node is a docker container. Introduced in Chef Infra Client 12.11.",
"scope": "source.ruby.chef"
},
"dragonfly_platform?": {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment