summaryrefslogtreecommitdiff
path: root/lib/chef/resource/smartos_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/smartos_package.rb')
-rw-r--r--lib/chef/resource/smartos_package.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/chef/resource/smartos_package.rb b/lib/chef/resource/smartos_package.rb
index a11b642d56..eb37b804d5 100644
--- a/lib/chef/resource/smartos_package.rb
+++ b/lib/chef/resource/smartos_package.rb
@@ -27,6 +27,13 @@ class Chef
provides :package, platform_family: "smartos"
description "Use the smartos_package resource to manage packages for the SmartOS platform."
+
+ property :package_name, String,
+ description: "An optional property to set the package name if it differs from the resource block's name.",
+ identity: true
+
+ property :version, String,
+ description: "The version of a package to be installed or upgraded."
end
end
end