summaryrefslogtreecommitdiff
path: root/lib/chef/resource/dpkg_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/dpkg_package.rb')
-rw-r--r--lib/chef/resource/dpkg_package.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/chef/resource/dpkg_package.rb b/lib/chef/resource/dpkg_package.rb
index c73fc506ad..488af8e1c9 100644
--- a/lib/chef/resource/dpkg_package.rb
+++ b/lib/chef/resource/dpkg_package.rb
@@ -20,12 +20,14 @@ require "chef/resource/package"
class Chef
class Resource
- # Use the dpkg_package resource to manage packages for the dpkg platform. When a package is installed from a local
- # file, it must be added to the node using the remote_file or cookbook_file resources.
class DpkgPackage < Chef::Resource::Package
resource_name :dpkg_package
provides :dpkg_package, os: "linux"
+ description "Use the dpkg_package resource to manage packages for the dpkg platform."\
+ " When a package is installed from a local file, it must be added to the"\
+ " node using the remote_file or cookbook_file resources."
+
property :source, [ String, Array, nil ]
end
end