keepalived: Move the sample configuration files to a separate package
PATCH 1/1 keepalived: Move the sample configuration files to a separate package
By default keepalived installs a bunch of sample configurations to /etc/keepalived/samples. These are good demonstrations but will almost certainly not apply to any real world situation.
Move the sample files to a separate package.
Signed-off-by Jordan Crouse <[email protected]>
--- .../recipes-daemons/keepalived/keepalived_2.2.8.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-networking/recipes-daemons/keepalived/keepalived_2.2.8.bb +4 -0
@@ -41,7 +41,11 @@ do_install:append() { fi } +PACKAGE_BEFORE_PN = "${PN}-samples" + FILES:${PN} += "${datadir}/snmp/mibs/KEEPALIVED-MIB.txt" +FILES:${PN}-samples = "${sysconfdir}/keepalived/samples ${sysconfdir}/keepalived/keepalived.conf.sample" + SYSTEMD_SERVICE:${PN} = "keepalived.service" SYSTEMD_AUTO_ENABLE ?= "disable"
Signature · 1 line
2.40.1
Khem Raj
AppliedQuoted 8 lines · Jordan Crouse
By default keepalived installs a bunch of sample configurations to
/etc/keepalived/samples. These are good demonstrations but will almost certainly not apply to any real world situation.Move the sample files to a separate package.
[...]
Applied, thanks!
[1/1] keepalived: Move the sample configuration files to a separate package
commit: 231c8bd2642ccbbcff799660a6bc8d455730494c
Best regards,
Signature · 1 line
Khem Raj <[email protected]>