diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-02-07 11:51:21 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-02-07 11:51:21 -0800 |
commit | e9690b257075b490d0bec9139707f708c3090d90 (patch) | |
tree | c3e183b3cb864206d1594deb0345a47e1b09fc4c | |
parent | 1b34688d1c94e9eadc0541b9132b763c7aedd32e (diff) | |
download | chef-e9690b257075b490d0bec9139707f708c3090d90.tar.gz |
Fix typos
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | RELEASE_NOTES.md | 2 | ||||
-rwxr-xr-x | tasks/docs.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 4464caa95e..d0c85ef380 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -61,7 +61,7 @@ Note: In the upcoming release of Chef Workstation, you'll be able to skip the `b #### Knife Bootstrapping Without Sudo -The `knife boostrap` command now supports elevating privileges on systems without `sudo` by using the `su` command instead. Use the new `--su-user` and `--su-password` flags to specify credentials for `su`. +The `knife bootstrap` command now supports elevating privileges on systems without `sudo` by using the `su` command instead. Use the new `--su-user` and `--su-password` flags to specify credentials for `su`. ### Resource Updates diff --git a/tasks/docs.rb b/tasks/docs.rb index 089d4ce27d..907d3c1ba4 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -250,7 +250,7 @@ namespace :docs_site do end # takes the resource description text, splits out warning/note fields and then adds multipackage based notes when appropriate - def build_reource_description(name, text) + def build_resource_description(name, text) description = split_description_values(text) # if we're on a package resource, depending on the OS we want to inject a warning / note that you can just use 'package' instead @@ -272,7 +272,7 @@ namespace :docs_site do r.merge!(special_properties(name)) r["resource"] = name - r["resource_description_list"] = build_reource_description(name, data["description"]) + r["resource_description_list"] = build_resource_description(name, data["description"]) r["resource_new_in"] = data["introduced"] unless data["introduced"].nil? r["syntax_full_code_block"] = generate_resource_block(name, properties, data["default_action"]) r["syntax_properties_list"] = nil |