Module yum

  • License: Apache 2.0

  • Version: 2.0.1

Entities

entity yum::Package

Parents: std::PurgeableResource

A software package installed on a managed device.

attribute string name

The name of the package to manage

attribute bool send_event=true
relation mitogen::Context via [0:1]

Mitogen context dedicated to this resource. If not specified, defaults to the one of the host.

relation std::Host host [1]

Relation to the host on which the package should be deployed.

The following implementations are defined for this entity:

The following implements statements select implementations for this entity:

entity yum::Packages

Parents: std::Entity

Define the state for multiple packages at once

attribute string[] name

A list of package names

attribute bool purged=false

The purged status of all the packages

relation mitogen::Context via [0:1]

Mitogen context dedicated to this resource. If not specified, defaults to the one of the host.

relation std::Host host [1]

Relation to the host on which the packages should be deployed.

The following implementations are defined for this entity:

The following implements statements select implementations for this entity:

entity yum::Repository

Parents: std::Entity

A yum repository.

Constraint: The attributes baseurl, mirrorlist and metalink cannot be null at the same time.

attribute string name
attribute bool gpgcheck=false
attribute bool enabled=true
attribute string? baseurl=null
attribute string? mirrorlist=null
attribute string gpgkey=''
attribute number metadata_expire=7200
attribute bool skip_if_unavailable=false
attribute bool purged=false
relation mitogen::Context via [0:1]

Mitogen context dedicated to this resource. If not specified, defaults to the one of the host.

relation std::Host host [1]

Relation toward the repositories of the host

other end: std::Host.repos [0:*]

The following implementations are defined for this entity:

The following implements statements select implementations for this entity:

Implementations

implementation yum::pkgs
implementation yum::redhatRepo
implementation yum::validateInput
implementation yum::wire_dependencies

Resources

class yum.Package

A software package installed on an operating system.

Handlers

class yum.YumPackage

A Package handler that uses yum