Skip to content

Commit

Permalink
Install redis-sentinal package earier
Browse files Browse the repository at this point in the history
When a redis-sentinal package was installed it could
alter previously applied requested permissions and ownerships
of files.

Ensure that redis-sentinal package is installed before directory
permissions and ownerships are set.
  • Loading branch information
traylenator committed Apr 22, 2024
1 parent 0e84c6e commit 54c0fa1
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 54c0fa1

Please sign in to comment.