summaryrefslogtreecommitdiff
path: root/lib/chef/resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r--lib/chef/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index e7ac91594f..746efb5fd4 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -454,7 +454,7 @@ class Chef
# @param arg [String] The umask to apply while converging the resource.
# @return [Boolean] The umask to apply while converging the resource.
#
- property :umask, String,
+ property :umask, [String, Integer],
desired_state: false,
introduced: "16.2",
description: "Set a umask to be used for the duration of converging the resource. Defaults to `nil`, which means to use the system umask. Unsupported on Windows because Windows lacks a direct equivalent to UNIX's umask."