summaryrefslogtreecommitdiff
path: root/lib/chef/resource/timezone.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/timezone.rb')
-rw-r--r--lib/chef/resource/timezone.rb32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/chef/resource/timezone.rb b/lib/chef/resource/timezone.rb
index f879c9577a..94100d1271 100644
--- a/lib/chef/resource/timezone.rb
+++ b/lib/chef/resource/timezone.rb
@@ -29,27 +29,27 @@ class Chef
description "Use the **timezone** resource to change the system timezone on Windows, Linux, and macOS hosts. Timezones are specified in tz database format, with a complete list of available TZ values for Linux and macOS here: <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>. On Windows systems run `tzutil /l` for a complete list of valid timezones."
introduced "14.6"
examples <<~DOC
- **Set the timezone to UTC**
+ **Set the timezone to UTC**
- ```ruby
- timezone 'UTC'
- ```
+ ```ruby
+ timezone 'UTC'
+ ```
- **Set the timezone to America/Los_Angeles with a friendly resource name on Linux/macOS**
+ **Set the timezone to America/Los_Angeles with a friendly resource name on Linux/macOS**
- ```ruby
- timezone "Set the host's timezone to America/Los_Angeles" do
- timezone 'America/Los_Angeles'
- end
- ```
+ ```ruby
+ timezone "Set the host's timezone to America/Los_Angeles" do
+ timezone 'America/Los_Angeles'
+ end
+ ```
- **Set the timezone to PST with a friendly resource name on Windows**
+ **Set the timezone to PST with a friendly resource name on Windows**
- ```ruby
- timezone "Set the host's timezone to PST" do
- timezone 'Pacific Standard time'
- end
- ```
+ ```ruby
+ timezone "Set the host's timezone to PST" do
+ timezone 'Pacific Standard time'
+ end
+ ```
DOC
property :timezone, String,