diff options
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r-- | lib/chef/resource/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index 827951b83a..1f50e65b4b 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -52,7 +52,7 @@ class Chef property :content, [ String, nil ], desired_state: false property :backup, [ Integer, false ], desired_state: false, default: 5 - property :checksum, [ String, nil ], is: /^[a-zA-Z0-9]{64}$/ + property :checksum, [ String, nil ], regex: /^[a-zA-Z0-9]{64}$/ property :path, String, name_property: true property :diff, [ String, nil ], desired_state: false property :atomic_update, [ true, false ], desired_state: false, default: Chef::Config[:file_atomic_update] |