summaryrefslogtreecommitdiff
path: root/lib/chef/resource/timezone.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/timezone.rb
parentbd19ff3749e935524a512667f41bb4fe5667be01 (diff)
downloadchef-a1bf06c753173ac698d9329a09c6edba6c18c781.tar.gz
Fix typo
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'lib/chef/resource/timezone.rb')
-rw-r--r--lib/chef/resource/timezone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/timezone.rb b/lib/chef/resource/timezone.rb
index 32727c1a75..7d9699cbbc 100644
--- a/lib/chef/resource/timezone.rb
+++ b/lib/chef/resource/timezone.rb
@@ -102,7 +102,7 @@ class Chef
def current_darwin_tz
tz_shellout = shell_out!("systemsetup -gettimezone")
if /You need administrator access/.match?(tz_shellout.stdout)
- raise "The timezone resource requires adminstrative priveleges to run on macOS hosts!"
+ raise "The timezone resource requires administrative privileges to run on macOS hosts!"
else
/Time Zone: (.*)/.match(tz_shellout.stdout)[1]
end