Class: Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::OSPolicy::Resource::PackageResource::RPM
- 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
-
#pull_deps ⇒ ::Boolean
Whether dependencies should also be installed.
-
#source ⇒ ::Google::Cloud::OsConfig::V1::OSPolicy::Resource::File
Required.
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
orzypper -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 |