Sha256: 46276b973c06d4d51f25abd45ad3ce54c2fcd741a10866b73f32442df43ba265
Contents?: true
Size: 556 Bytes
Versions: 224
Compression:
Stored size: 556 Bytes
Contents
module ProxyAPI class Pulp < ::ProxyAPI::Resource def initialize(args) @url = args[:url] + "/pulp/status" super args end def pulp_storage @url += "/disk_usage" @pulp_storage ||= parse(get) rescue => e raise ::ProxyAPI::ProxyException.new(url, e, N_("Unable to detect pulp storage")) end def capsule_puppet_path @url += "/puppet" @capsule_puppet_path ||= parse(get) rescue => e raise ::ProxyAPI::ProxyException.new(url, e, N_("Unable to detect puppet path")) end end end
Version data entries
224 entries across 224 versions & 1 rubygems