HomeSoftware Heritage

Skip ensuring package if sentinel requires no additional package

Description

Skip ensuring package if sentinel requires no additional package

Currently both of the redis class and the redis::sentinel class have
the package_ensure parameter which define status of the packages to
install redis and redis sentinel. However, in some distros like CentOS,
the single redis package is enough to install both redis and sentinel,
and we should set the same value to these two package_ensure parameters
to avoid conflict between two package resources maintained by these two
classes.
This change disables the package resource in the redis::sentinel class
when the single package is used, to avoid such redundant requirements.

Details

Provenance
Takashi Kajinami <tkajinam@redhat.com>Authored on Aug 30 2021, 3:09 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
R226:686a6b21ef70: [blacksmith] Bump version to 8.1.2-rc0
Branches
Unknown
Tags
Unknown

Event Timeline

Takashi Kajinami <tkajinam@redhat.com> committed R226:22da5cf39715: Skip ensuring package if sentinel requires no additional package (authored by Takashi Kajinami <tkajinam@redhat.com>).Aug 30 2021, 6:05 PM