summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin McNeese <cmcneese@chef.io>2021-10-29 17:04:03 -0500
committerCollin McNeese <cmcneese@chef.io>2021-10-29 17:04:03 -0500
commitd14ddcb50e5415740c2f81496738ee335dd6ebe6 (patch)
tree54b2221383b25b34ab326cd4a2a095ab9e1a4e66
parent33fd8610ebf2e91528463d284fa20e4dbd0a7b35 (diff)
downloadchef-d14ddcb50e5415740c2f81496738ee335dd6ebe6.tar.gz
Updates description for rhsm_register release property and removes Integer type
Signed-off-by: Collin McNeese <cmcneese@chef.io>
-rw-r--r--lib/chef/resource/rhsm_register.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/rhsm_register.rb b/lib/chef/resource/rhsm_register.rb
index 89182809c8..2f4b5fa6f5 100644
--- a/lib/chef/resource/rhsm_register.rb
+++ b/lib/chef/resource/rhsm_register.rb
@@ -92,8 +92,8 @@ class Chef
introduced: "17.8"
property :release,
- [Integer, Float, String],
- description: "Sets the operating system minor release to use for subscriptions for the system. Products and updates are limited to the specified minor release version. This is used only used with the auto_attach option.",
+ [Float, String],
+ description: "Sets the operating system minor release to use for subscriptions for the system. Products and updates are limited to the specified minor release version. This is used only used with the auto_attach option. For example, `release '6.4'` will append `--release=6.4` to the register command.",
introduced: "17.8"
action :register, description: "Register the node with RHSM." do