summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-08-23 20:22:50 -0700
committerTim Smith <tsmith84@gmail.com>2021-08-24 15:15:07 -0700
commitfe109acb258d0e45d83f8788a4f2f0384dcfde05 (patch)
treefe9b10ca7233607ee04cac2ccd9c9b402dd2c875
parent45d2aa597fcdd8f83719e8ed970a4752bfe9c519 (diff)
downloadchef-fe109acb258d0e45d83f8788a4f2f0384dcfde05.tar.gz
Don't uppercase cookbooks
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/formatters/doc.rb12
-rw-r--r--lib/chef/formatters/minimal.rb2
-rw-r--r--spec/unit/formatters/doc_spec.rb2
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb
index a5a742d2f0..c573bb0570 100644
--- a/lib/chef/formatters/doc.rb
+++ b/lib/chef/formatters/doc.rb
@@ -125,7 +125,7 @@ class Chef
# Called before the cookbook collection is fetched from the server.
def cookbook_resolution_start(expanded_run_list)
- puts_line "Resolving Cookbooks for run list: #{expanded_run_list.inspect}"
+ puts_line "Resolving cookbooks for run list: #{expanded_run_list.inspect}"
end
# Called when there is an error getting the cookbook collection from the
@@ -150,7 +150,7 @@ class Chef
# Called before cookbook sync starts
def cookbook_sync_start(cookbook_count)
- puts_line "Synchronizing Cookbooks:"
+ puts_line "Synchronizing cookbooks:"
indent
end
@@ -169,7 +169,7 @@ class Chef
# Called when starting to collect gems from the cookbooks
def cookbook_gem_start(gems)
- puts_line "Installing Cookbook Gem Dependencies:"
+ puts_line "Installing cookbook gem dependencies:"
indent
end
@@ -195,7 +195,7 @@ class Chef
# Called when cookbook loading starts.
def library_load_start(file_count)
- puts_line "Compiling Cookbooks..."
+ puts_line "Compiling cookbooks..."
end
# Called after a file in a cookbook is loaded.
@@ -281,7 +281,7 @@ class Chef
end
def resource_bypassed(resource, action, provider)
- puts " (Skipped: whyrun not supported by provider #{provider.class.name})", stream: resource
+ puts " (Skipped: Why-Run not supported by provider #{provider.class.name})", stream: resource
unindent
end
@@ -318,7 +318,7 @@ class Chef
# Called when resource current state load is skipped due to the provider
# not supporting whyrun mode.
def resource_current_state_load_bypassed(resource, action, current_resource)
- puts_line("* Whyrun not supported for #{resource}, bypassing load.", :yellow)
+ puts_line("* Why-Run not supported for #{resource}, bypassing load.", :yellow)
end
def stream_output(stream, output, options = {})
diff --git a/lib/chef/formatters/minimal.rb b/lib/chef/formatters/minimal.rb
index 938c2e7a91..b2d0d7f264 100644
--- a/lib/chef/formatters/minimal.rb
+++ b/lib/chef/formatters/minimal.rb
@@ -115,7 +115,7 @@ class Chef
# Called when cookbook loading starts.
def library_load_start(file_count)
- puts "Compiling Cookbooks"
+ puts "Compiling cookbooks"
end
# Called after a file in a cookbook is loaded.
diff --git a/spec/unit/formatters/doc_spec.rb b/spec/unit/formatters/doc_spec.rb
index 73e756464b..4947058a17 100644
--- a/spec/unit/formatters/doc_spec.rb
+++ b/spec/unit/formatters/doc_spec.rb
@@ -40,7 +40,7 @@ describe Chef::Formatters::Base do
}
formatter.policyfile_loaded(minimal_policyfile)
- expect(out.string).to include("Using policy 'jenkins' at revision '613f803bdd035d574df7fa6da525b38df45a74ca82b38b79655efed8a189e073'")
+ expect(out.string).to include("Using Policyfile 'jenkins' at revision '613f803bdd035d574df7fa6da525b38df45a74ca82b38b79655efed8a189e073'")
end
it "prints cookbook name and version" do