Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM (v0.5.0)

Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::PackageResource::RPM.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#pull_deps

def pull_deps() -> ::Boolean
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

#pull_deps=

def pull_deps=(value) -> ::Boolean
Parameter
  • value (::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
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

#source

def source() -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File
Returns

#source=

def source=(value) -> ::Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::File
Parameter
Returns