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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/osconfig/v1/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


225
226
227
228
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 225

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

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

Returns Required. An rpm package.

Returns:



225
226
227
228
# File 'proto_docs/google/cloud/osconfig/v1/os_policy.rb', line 225

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