summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-02-23 10:18:23 -0800
committerTim Smith <tsmith@chef.io>2018-03-09 10:44:12 -0800
commit88388064a2d0e3610f728c2329c25f924cf4ea3c (patch)
treeef2b455c0f340214a2d8cc62df9ab1e44d4a4c7d
parentdd97e9b8db33e9742ac05720cc1446da89b57e75 (diff)
downloadchef-88388064a2d0e3610f728c2329c25f924cf4ea3c.tar.gz
Allow interactions property to be nil
This worked before with how we setup the properties. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/user.rb b/lib/chef/resource/user.rb
index 7f427a9e34..5c9a0c7a6d 100644
--- a/lib/chef/resource/user.rb
+++ b/lib/chef/resource/user.rb
@@ -38,7 +38,7 @@ class Chef
property :shell, String
property :password, String
property :salt, String
- property :iterations, Integer, default: 27855
+ property :iterations, [Integer, nil], default: 27855
property :system, [ TrueClass, FalseClass ], default: false
property :manage_home, [ TrueClass, FalseClass ], default: false
property :force, [ TrueClass, FalseClass ], default: false