Skip to content

Commit

Permalink
Merge pull request #516 from traylenator/early
Browse files Browse the repository at this point in the history
Install redis-sentinal package before redis
  • Loading branch information
traylenator committed Apr 23, 2024
2 parents 0e84c6e + 01b56fb commit b2a3050
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/sentinel.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit b2a3050

Please sign in to comment.