Module yum¶
License: Apache 2.0
Version: 2.1.0
Entities¶
- entity yum::AbstractPackage¶
Parents:
std::Entity
Abstract class to avoid duplications between package and 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 package should be deployed.
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
yum::wire_dependencies
constrainttrue
- entity yum::Package¶
Parents:
yum::AbstractPackage
,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¶
The following implements statements select implementations for this entity:
constraint
true
- entity yum::Packages¶
Parents:
yum::AbstractPackage
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
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
yum::pkgs
constrainttrue
- entity yum::PackagesBatch¶
Parents:
yum::AbstractPackage
,std::PurgeableResource
Multiple package that will be installed at the same time
- attribute string name¶
A friendly name to give to the resource
- attribute string[] packages¶
The list of packages to install
- attribute bool purged=false¶
The purged status of all the packages
The following implements statements select implementations for this entity:
constraint
true
- 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? metalink=null¶
- attribute string gpgkey=''¶
- attribute number metadata_expire=7200¶
- 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:
yum::validateInput
constrainttrue
yum::redhatRepo
constrainttrue
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.
Resource for entity
yum::Package
Id attribute
name
Agent name
host.name
Handlers
yum.YumPackage
- class yum.PackagesBatch¶
A software package installed on an operating system.
Resource for entity
yum::PackagesBatch
Id attribute
name
Agent name
host.name
Handlers
yum.YumPackagesBatch
Handlers¶
- class yum.YumPackage¶
A Package handler that uses yum
Handler for entity
yum::Package
- class yum.YumPackagesBatch¶
A Package handler that uses yum in batch
Handler for entity
yum::PackagesBatch