summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-08-30 20:48:59 -0700
committerTim Smith <tsmith@chef.io>2018-08-31 17:17:24 -0700
commited10614c70131524e70ebd4d3d23b0749b587356 (patch)
tree8715d5ab624796dac4c114a34eb5b00789b18f36
parent968b839c2931b8ea02b2732a50b05d65c528f6ef (diff)
downloadchef-ed10614c70131524e70ebd4d3d23b0749b587356.tar.gz
Update windows_font descriptions
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/windows_font.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/chef/resource/windows_font.rb b/lib/chef/resource/windows_font.rb
index 9f4366338a..2f61876e9a 100644
--- a/lib/chef/resource/windows_font.rb
+++ b/lib/chef/resource/windows_font.rb
@@ -25,9 +25,7 @@ class Chef
resource_name :windows_font
provides(:windows_font) { true }
- description "Use the windows_font resource to install font files on Windows."\
- " By default, the font is sourced from the cookbook using the resource, but a URI"\
- " source can be specified as well."
+ description "Use the windows_font resource to install font files on Windows. By default, the font is sourced from the cookbook using the resource, but a URI source can be specified as well."
introduced "14.0"
property :font_name, String,
@@ -35,7 +33,7 @@ class Chef
name_property: true
property :source, String,
- description: "A local filesystem path or URI to source the font file from.",
+ description: "A local filesystem path or URI that is used to source the font file.",
coerce: proc { |x| x =~ /^.:.*/ ? x.tr('\\', "/").gsub("//", "/") : x }
action :install do