Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
Ensure Package[sensu] is not already define
Browse files Browse the repository at this point in the history
  • Loading branch information
bleuchtang committed May 26, 2015
1 parent 6ae1ffc commit 48c41d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
fail("Use of private class ${name} by ${caller_module_name}")
}

if $uchiwa::install_repo {
if ($uchiwa::install_repo) and (!defined(Package['sensu'])) {

if defined(apt::source) {

$ensure = $uchiwa::install_repo ? {
Expand Down

0 comments on commit 48c41d3

Please sign in to comment.