diff --git a/manifests/sentinel.pp b/manifests/sentinel.pp index ba240c70..2813802b 100644 --- a/manifests/sentinel.pp +++ b/manifests/sentinel.pp @@ -194,12 +194,13 @@ $auth_pass } - require 'redis' + contain 'redis' if $package_name != $redis::package_name { ensure_packages([$package_name], { ensure => $package_ensure }) + Package[$package_name] -> Class['redis'] } Package[$package_name] -> File[$config_file_orig]