summaryrefslogtreecommitdiff
path: root/lib/chef/resource/hostname.rb
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-04-06 22:14:39 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-04-06 22:46:26 +0530
commita1bf06c753173ac698d9329a09c6edba6c18c781 (patch)
treedcc0cfe7d4c533fc1d73d1cbd01dbf1decc202ef /lib/chef/resource/hostname.rb
parentbd19ff3749e935524a512667f41bb4fe5667be01 (diff)
downloadchef-a1bf06c753173ac698d9329a09c6edba6c18c781.tar.gz
Fix typo
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'lib/chef/resource/hostname.rb')
-rw-r--r--lib/chef/resource/hostname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/hostname.rb b/lib/chef/resource/hostname.rb
index e2d3465d96..d6e08175ea 100644
--- a/lib/chef/resource/hostname.rb
+++ b/lib/chef/resource/hostname.rb
@@ -122,7 +122,7 @@ class Chef
r.notifies :reload, "ohai[reload hostname]"
end
- # setup the hostname to perist on a reboot
+ # setup the hostname to persist on a reboot
case
when ::File.exist?("/usr/sbin/scutil")
# darwin