Skip to content

Commit

Permalink
Fix for issue voxpupuli#653
Browse files Browse the repository at this point in the history
  • Loading branch information
sgi-tschaller authored Nov 7, 2018
1 parent 9624672 commit 62cee15
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manifests/repo/redhat.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

if $::collectd::ci_package_repo {

# Fix for issue #653
if $::collectd::ci_package_repo != 'master' {
$path_prefix = 'collectd-'
} else {
$path_prefix = ''
}

yumrepo { 'collectd-ci':
ensure => present,
enabled => '1',
Expand Down

0 comments on commit 62cee15

Please sign in to comment.