tripleo-image-elements/elements/check_mk-agent/install.d/05-check_mk-agent
Gregory Haynes dad3c0ccf1 Migrate to package-installs scripts
Migrating install-packages commands to package-installs-* scripts where
possible.

This patch is broken up into multiple parts to minimize impact and
review overhead.

Change-Id: Idd1be32149e7238d53d04a34170c5029dda83f1f
2014-11-05 01:38:05 -08:00

12 lines
259 B
Bash
Executable File

#!/bin/bash
# install check-mk-agent and the logwatch plugin
set -eux
set -o pipefail
# check_mk is disabled by default so we need to enable it here
sed -i "s/\tdisable = yes/\tdisable = no/g" /etc/xinetd.d/check_mk
os-svc-enable -an xinetd