File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 15
15
### Defined types
16
16
17
17
* [ ` yum::config ` ] ( #yum--config ) : This definition manages yum.conf
18
+ * [ ` yum::copr ` ] ( #yum--copr ) : This definition manages Copr (Cool Other Package Repo) repositories.
18
19
* [ ` yum::gpgkey ` ] ( #yum--gpgkey ) : imports/deleted public GPG key for RPM. Key can be stored on Puppet's fileserver or as inline content.
19
20
* [ ` yum::group ` ] ( #yum--group ) : This definition installs or removes yum package group.
20
21
* [ ` 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)
383
384
384
385
Default value: ` $title `
385
386
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
+
386
424
### <a name =" yum--gpgkey " ></a >` yum::gpgkey `
387
425
388
426
imports/deleted public GPG key for RPM. Key can be stored on Puppet's fileserver or as inline content.
You can’t perform that action at this time.
0 commit comments