Skip to content

Commit 97286be

Browse files
committed
Regenerate REFERENCE.md.
1 parent 600d0bc commit 97286be

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

REFERENCE.md

+38
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
### Defined types
1616

1717
* [`yum::config`](#yum--config): This definition manages yum.conf
18+
* [`yum::copr`](#yum--copr): This definition manages Copr (Cool Other Package Repo) repositories.
1819
* [`yum::gpgkey`](#yum--gpgkey): imports/deleted public GPG key for RPM. Key can be stored on Puppet's fileserver or as inline content.
1920
* [`yum::group`](#yum--group): This definition installs or removes yum package group.
2021
* [`yum::install`](#yum--install): Installs/removes rpms from local file/URL via yum install command.
@@ -383,6 +384,43 @@ alternative conf. key (defaults to name)
383384

384385
Default value: `$title`
385386

387+
### <a name="yum--copr"></a>`yum::copr`
388+
389+
This definition manages Copr (Cool Other Package Repo) repositories.
390+
391+
#### Examples
392+
393+
##### add and enable COPR restic repository
394+
395+
```puppet
396+
yum::copr { 'copart/restic':
397+
ensure => 'enabled',
398+
}
399+
```
400+
401+
#### Parameters
402+
403+
The following parameters are available in the `yum::copr` defined type:
404+
405+
* [`copr_repo`](#-yum--copr--copr_repo)
406+
* [`ensure`](#-yum--copr--ensure)
407+
408+
##### <a name="-yum--copr--copr_repo"></a>`copr_repo`
409+
410+
Data type: `String`
411+
412+
name of repository, defaults to title
413+
414+
Default value: `$title`
415+
416+
##### <a name="-yum--copr--ensure"></a>`ensure`
417+
418+
Data type: `Enum['enabled', 'disabled', 'removed']`
419+
420+
specifies if repo should be enabled, disabled or removed
421+
422+
Default value: `'enabled'`
423+
386424
### <a name="yum--gpgkey"></a>`yum::gpgkey`
387425

388426
imports/deleted public GPG key for RPM. Key can be stored on Puppet's fileserver or as inline content.

0 commit comments

Comments
 (0)