summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cab_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/cab_package.rb')
-rw-r--r--lib/chef/resource/cab_package.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/chef/resource/cab_package.rb b/lib/chef/resource/cab_package.rb
index 1c1907801c..04d6f97976 100644
--- a/lib/chef/resource/cab_package.rb
+++ b/lib/chef/resource/cab_package.rb
@@ -32,14 +32,14 @@ class Chef
allowed_actions :install, :remove
- property :source, String,
- description: "The local file path or URL for the CAB package.",
- coerce: (proc do |s|
- unless s.nil?
- uri_scheme?(s) ? s : Chef::Util::PathHelper.canonical_path(s, false)
- end
- end),
- default: lazy { |r| r.package_name }, default_description: "The package name."
+ property :source, String,
+ description: "The local file path or URL for the CAB package.",
+ coerce: (proc do |s|
+ unless s.nil?
+ uri_scheme?(s) ? s : Chef::Util::PathHelper.canonical_path(s, false)
+ end
+ end),
+ default: lazy { |r| r.package_name }, default_description: "The package name."
end
end
end