summaryrefslogtreecommitdiff
path: root/lib/chef/resource/zypper_repository.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/zypper_repository.rb')
-rw-r--r--lib/chef/resource/zypper_repository.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/chef/resource/zypper_repository.rb b/lib/chef/resource/zypper_repository.rb
index 72e0074b2a..298373b87d 100644
--- a/lib/chef/resource/zypper_repository.rb
+++ b/lib/chef/resource/zypper_repository.rb
@@ -20,15 +20,16 @@ require "chef/resource"
class Chef
class Resource
- # The zypper_repository resource allows for the creation of Zypper package repositories on SUSE Enterprise Linux and
- # openSUSE systems. This resource maintains full compatibility with the zypper_repository resource in the existing
- # zypper cookbook.
- #
- # @since 13.3
class ZypperRepository < Chef::Resource
resource_name :zypper_repository
provides :zypper_repo
+ description "Use the zypper_repository resource to create Zypper package repositories"\
+ " on SUSE Enterprise Linux and openSUSE systems. This resource maintains"\
+ " full compatibility with the zypper_repository resource in the existing"\
+ " zypper cookbook."
+ introduced "13.3"
+
property :repo_name, String, name_property: true
property :description, String
property :type, String, default: "NONE"