Skip to content

Commit

Permalink
Regenerate REFERENCE.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
olifre committed Jun 25, 2023
1 parent 49af317 commit 0675c06
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
### Defined types

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

Default value: `$title`

### <a name="yum--copr"></a>`yum::copr`

This definition manages Copr (Cool Other Package Repo) repositories.

#### Examples

##### add and enable COPR restic repository

```puppet
yum::copr { 'copart/restic':
ensure => 'enabled',
}
```

#### Parameters

The following parameters are available in the `yum::copr` defined type:

* [`copr_repo`](#-yum--copr--copr_repo)
* [`ensure`](#-yum--copr--ensure)

##### <a name="-yum--copr--copr_repo"></a>`copr_repo`

Data type: `String`

name of repository, defaults to title

Default value: `$title`

##### <a name="-yum--copr--ensure"></a>`ensure`

Data type: `Enum['enabled', 'disabled', 'removed']`

specifies if repo should be enabled, disabled or removed

Default value: `'enabled'`

### <a name="yum--gpgkey"></a>`yum::gpgkey`

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

0 comments on commit 0675c06

Please sign in to comment.