summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-06-07 17:07:14 -0700
committerJohn McCrae <john.mccrae@progress.com>2021-06-14 19:01:11 -0700
commit6ef4085bde95e261db8335d4d2ea67a6b156b76d (patch)
treee3596aba6572a40758935a467f2100bd2cf1fa6c
parent6a3823235fa7023522a9bc0e3c44a3fe5e5d60fc (diff)
downloadchef-6ef4085bde95e261db8335d4d2ea67a6b156b76d.tar.gz
Fix incorrect versions this resource was updated in
I was off by one when I added these Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/hostname.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/hostname.rb b/lib/chef/resource/hostname.rb
index e36d693886..ab4ab73961 100644
--- a/lib/chef/resource/hostname.rb
+++ b/lib/chef/resource/hostname.rb
@@ -53,7 +53,7 @@ class Chef
end
```
- **Change the hostname of a Windows, Domain-joined node (new in 17.3)**:
+ **Change the hostname of a Windows, Domain-joined node (new in 17.2)**:
```ruby
hostname 'renaming a domain-joined computer' do
@@ -91,12 +91,12 @@ class Chef
property :domain_user, String,
description: "A domain account specified in the form of DOMAIN\\user used when renaming a domain-joined device",
- introduced: "17.3"
+ introduced: "17.2"
property :domain_password, String,
description: "The password to accompany the domain_user parameter",
sensitive: true,
- introduced: "17.3"
+ introduced: "17.2"
action_class do
def append_replacing_matching_lines(path, regex, string)