Skip to content

Commit

Permalink
Merge pull request #148 from igalic/fix/resource-direct
Browse files Browse the repository at this point in the history
instantiate yumrepo & yum::config directly
  • Loading branch information
igalic authored Nov 13, 2019
2 parents 7342a49 + abe142a commit db98b7a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@

$normalized_repos.each |$yumrepo, $attributes| {
if member($_managed_repos_minus_exclusions, $yumrepo) {
Resource['yumrepo'] {
$yumrepo: * => $attributes,
yumrepo { $yumrepo:
* => $attributes,
}
# Handle GPG Key
if ('gpgkey' in $attributes) {
Expand Down Expand Up @@ -183,8 +183,8 @@
}

$_normalized_config_options.each |$config, $attributes| {
Resource['yum::config'] {
$config: * => $attributes,
yum::config { $config:
* => $attributes,
}
}
}
Expand Down

0 comments on commit db98b7a

Please sign in to comment.