Sha256: 004023c633e0e78b9d29e07aab92450dcc268220741e7f75fb80712db6324612
Contents?: true
Size: 472 Bytes
Versions: 7
Compression:
Stored size: 472 Bytes
Contents
target_test 'local path exists' do |config| if config[:local_path] && !File.exist?(config[:local_path]) next { severity: :warning, message: "local_path does not exist (#{config[:local_path]})" } end end target_test 'remote_path is set' do |config| types = %w[rsync rsync_with_version] if types.include?(config[:type]) && config[:remote_path].blank? next { severity: :error, message: 'config is missing a remote path for rsync' } end end
Version data entries
7 entries across 7 versions & 1 rubygems