diff --git a/manifests/redis.pp b/manifests/redis.pp index 192a831..177fca1 100644 --- a/manifests/redis.pp +++ b/manifests/redis.pp @@ -16,7 +16,7 @@ $user = $::icinga::redis::globals::user $group = $::icinga::redis::globals::group - class { 'redis': + class { '::redis': manage_repo => false, package_name => $package_name, config_dir => $conf_dir, diff --git a/manifests/repos/apt.pp b/manifests/repos/apt.pp index acea5f8..c1806a3 100644 --- a/manifests/repos/apt.pp +++ b/manifests/repos/apt.pp @@ -13,7 +13,8 @@ include ::apt if $configure_backports { - contain ::apt::backports + include ::apt::backports + Apt::Source['backports'] -> Package <| |> } $repos.each |String $repo_name, Hash $repo_config| { @@ -25,6 +26,7 @@ } }) } + Apt::Source[$repo_name] -> Package <| |> } } diff --git a/manifests/repos/yum.pp b/manifests/repos/yum.pp index 1e57d06..36fbfef 100644 --- a/manifests/repos/yum.pp +++ b/manifests/repos/yum.pp @@ -24,6 +24,7 @@ * => merge($repo_config, { enabled => $_enabled[$repo_name] }) } } + Yumrepo[$repo_name] -> Package <| |> } if $configure_scl and $facts['os']['name'] in ['CentOS', 'Scientific'] { diff --git a/manifests/repos/zypper.pp b/manifests/repos/zypper.pp index ccc83cc..14d6d72 100644 --- a/manifests/repos/zypper.pp +++ b/manifests/repos/zypper.pp @@ -17,6 +17,7 @@ $_proxy = undef } + exec { "import ${repo_name} gpg key": path => '/bin:/usr/bin:/sbin:/usr/sbin', command => "rpm ${_proxy} --import ${repo_config['gpgkey']}", @@ -32,6 +33,7 @@ path => "/etc/zypp/repos.d/${repo_name}.repo", line => "proxy=${repo_config['proxy']}", } + -> Package <| |> } }