Method: Chef::Provider::RemoteFile::CacheControlData#validate!
- Defined in:
- lib/chef/provider/remote_file/cache_control_data.rb
#validate!(current_copy_checksum) ⇒ Object
98 99 100 101 102 103 104 105 |
# File 'lib/chef/provider/remote_file/cache_control_data.rb', line 98 def validate!(current_copy_checksum) if current_copy_checksum.nil? || checksum != current_copy_checksum reset! false else true end end |