createrepo_directive - create a YUM repository from RPM packages using createrepo¶
New in version 0.4.
Take a directory containing RPM packages and run createrepo
command on it,
which creates YUM repository metadata inside of it.
Parameters¶
Parameter | Required | Description | Type | Default | Choices |
---|---|---|---|---|---|
repodir |
yes | absolute or relative path to the directory containing RPM files (the task directory is considered the current working directory) |
str |
Return Values¶
Standard output (string
) of the createrepo
process.
Exceptions¶
TaskotronDirectiveError
: if there’s any output on standard error stream of thecreaterepo
process