diff --git a/manifests/repo/apt.pp b/manifests/repo/apt.pp index 77e905d431..d26bfe2c53 100644 --- a/manifests/repo/apt.pp +++ b/manifests/repo/apt.pp @@ -11,6 +11,7 @@ release => 'sensu', repos => $repo, include_src => false, + before => Package['sensu'], } apt::key { 'sensu': diff --git a/manifests/repo/yum.pp b/manifests/repo/yum.pp index 9c847bdd06..762b1ced1f 100644 --- a/manifests/repo/yum.pp +++ b/manifests/repo/yum.pp @@ -13,6 +13,7 @@ baseurl => 'http://repos.sensuapp.org/yum/el/$releasever/$basearch/', gpgcheck => 0, name => "sensu-${repo}", + before => Package['sensu'], } }