Revision fea371e8
Added by Alexis Mousset about 7 years ago
rudder-agent/SOURCES/rudder-agent-postinst | ||
---|---|---|
${RUDDER_CMD} agent enable
|
||
fi
|
||
|
||
# Ensure the modification date of the capability file is correct
|
||
# as it is used for cache invalidation in ncf lis-compatible-inputs
|
||
touch /opt/rudder/etc/agent-capabilities
|
||
|
||
# Restart daemons if we stopped them, otherwise not
|
||
if [ ${CFRUDDER_FIRST_INSTALL} -ne 1 ]
|
||
then
|
Also available in: Unified diff
Fixes #10532: On centos7, generation fails because of hook policy-generation-node-ready/10-cf-promise-check