summaryrefslogtreecommitdiff
path: root/lib/chef/resource/windows_font.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/windows_font.rb')
-rw-r--r--lib/chef/resource/windows_font.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/resource/windows_font.rb b/lib/chef/resource/windows_font.rb
index 333769c3cd..64644a815f 100644
--- a/lib/chef/resource/windows_font.rb
+++ b/lib/chef/resource/windows_font.rb
@@ -29,12 +29,12 @@ class Chef
introduced "14.0"
property :font_name, String,
- description: "An optional property to set the name of the font to install if it differs from the resource block's name.",
- name_property: true
+ description: "An optional property to set the name of the font to install if it differs from the resource block's name.",
+ name_property: true
property :source, String,
- description: "A local filesystem path or URI that is used to source the font file.",
- coerce: proc { |x| x =~ /^.:.*/ ? x.tr('\\', "/").gsub("//", "/") : x }
+ 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
description "Install a font to the system fonts directory."