Class: Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb

Overview

An RPM package file. RPM packages only support INSTALLED state.

Instance Attribute Summary collapse

Instance Attribute Details

#pull_deps::Boolean

Returns Whether dependencies should also be installed.

  • install when false: rpm --upgrade --replacepkgs package.rpm
  • install when true: yum -y install package.rpm or zypper -y install package.rpm.

Returns:

  • (::Boolean)

    Whether dependencies should also be installed.

    • install when false: rpm --upgrade --replacepkgs package.rpm
    • install when true: yum -y install package.rpm or zypper -y install package.rpm


242
243
244
245
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 242

class RPM
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File

Returns Required. An rpm package.

Returns:



242
243
244
245
# File 'proto_docs/google/cloud/osconfig/v1alpha/os_policy.rb', line 242

class RPM
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end