Sha256: 4f94065cf6a1a9bbf4fcfe3ddee29bfe963731f145f01a21c70ef89d23f34ba5
Contents?: true
Size: 313 Bytes
Versions: 40
Compression:
Stored size: 313 Bytes
Contents
require 'puppet/file_bucket/file' # This module is used to pick the appropriate terminus # in filebucket indirections. module Puppet::FileBucket::File::IndirectionHooks def select_terminus(request) return(request.protocol == 'https' ? :rest : Puppet::FileBucket::File.indirection.terminus_class) end end
Version data entries
40 entries across 40 versions & 2 rubygems