Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/puppet/provider/rhsm_pool/subscription_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def self.consumed_pools
subscription.store(:active, value)
next
end
m = %r{^\s*System Type:\s*([^:]+)$}.match(line)
m = %r{^\s*(System|Entitlement) Type:\s*([^:]+)$}.match(line)
unless m.nil?
value = m[1].strip.to_sym
value = m[2].strip.to_sym
subscription.store(:system_type, value)
# this is the last item output
subscription.store(:provider, :subscription_manager)
Expand Down