Skip to content

Commit

Permalink
Fix Package not depending on the right Yumrepo (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvaka authored Oct 23, 2020
1 parent 39971a1 commit dd544b7
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions manifests/redhat.pp
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@
require => Exec['install-gpg-key'],
}

Package { require => Yumrepo['datadog6']}
}

package { $datadog_agent::params::package_name:
ensure => $agent_version,
package { $datadog_agent::params::package_name:
ensure => $agent_version,
require => Yumrepo['datadog'],
}
} else {
package { $datadog_agent::params::package_name:
ensure => $agent_version,
}
}

}

0 comments on commit dd544b7

Please sign in to comment.