Sha256: e14bfa43243de119db2af2f71ee162e99618cc8005d87aaaf17ca6eb6e4609ec
Contents?: true
Size: 316 Bytes
Versions: 262
Compression:
Stored size: 316 Bytes
Contents
module Puppet::Resource::Validator def validate_key(request) type, title = request.key.split('/', 2) unless type.downcase == request.instance.type.downcase and title == request.instance.title raise Puppet::Indirector::ValidationError, "Resource instance does not match request key" end end end
Version data entries
262 entries across 262 versions & 2 rubygems