137
152
! (metadata.nil? or metadata.ftype.nil?)
140
157
# Provide, and retrieve if necessary, the metadata for this file. Fail
141
158
# if we can't find data about this host, and fail if there are any
148
165
if data = Puppet::FileServing::Metadata.indirection.find(source)
154
171
fail detail, "Could not retrieve file metadata for #{source}: #{detail}"