Sha256: 5c6199753b2b48c7d570908a04018cc3212a58835ebdb365086f3b00b35622f6

Contents?: true

Size: 584 Bytes

Versions: 30

Compression:

Stored size: 584 Bytes

Contents

module Katello
  module Pulp
    class PackageGroup < PulpContentUnit
      include LazyAccessor

      CONTENT_TYPE = 'package_group'.freeze

      lazy_accessor :pulp_facts, :initializer => :backend_data

      lazy_accessor :optional_package_names, :mandatory_package_names,
                    :conditional_package_names, :default_package_names, :_id,
                    :repository_memberships,
                    :initializer => :pulp_facts

      def update_model(model)
        model.update_attributes!(backend_data.slice('name', 'description'))
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
katello-3.15.3.1 app/services/katello/pulp/package_group.rb
katello-3.15.3 app/services/katello/pulp/package_group.rb
katello-3.15.2 app/services/katello/pulp/package_group.rb
katello-3.15.1.1 app/services/katello/pulp/package_group.rb
katello-3.15.1 app/services/katello/pulp/package_group.rb
katello-3.15.0.1 app/services/katello/pulp/package_group.rb
katello-3.15.0 app/services/katello/pulp/package_group.rb
katello-3.15.0.rc2 app/services/katello/pulp/package_group.rb
katello-3.15.0.rc1.3 app/services/katello/pulp/package_group.rb
katello-3.15.0.rc1.2 app/services/katello/pulp/package_group.rb
katello-3.15.0.rc1.1 app/services/katello/pulp/package_group.rb
katello-3.15.0.rc1 app/services/katello/pulp/package_group.rb
katello-3.14.1 app/services/katello/pulp/package_group.rb
katello-3.13.4 app/services/katello/pulp/package_group.rb
katello-3.14.0 app/services/katello/pulp/package_group.rb
katello-3.13.3 app/services/katello/pulp/package_group.rb
katello-3.14.0.rc2 app/services/katello/pulp/package_group.rb
katello-3.13.2 app/services/katello/pulp/package_group.rb
katello-3.14.0.rc1 app/services/katello/pulp/package_group.rb
katello-3.13.1 app/services/katello/pulp/package_group.rb