From 2f03de6416c1b790a1059daf206391a3b63b253b Mon Sep 17 00:00:00 2001 From: kissiel Date: Mon, 4 Sep 2023 10:44:23 +0200 Subject: [PATCH] make the config chains scenario in metabox local-only (#691) This should never have run via remote because: - the configs on the controller are not taken into account - the agent runs as root, so configs for the `ubuntu` user are pointless There is more that we can improve in this test, but this patch at least fixes the metabox runs. --- metabox/metabox/scenarios/config/chains.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metabox/metabox/scenarios/config/chains.py b/metabox/metabox/scenarios/config/chains.py index b85689bbb..e8524ae05 100644 --- a/metabox/metabox/scenarios/config/chains.py +++ b/metabox/metabox/scenarios/config/chains.py @@ -32,7 +32,9 @@ from .config_files import chains +@tag("config-chains") class ConfigChainsPriority(Scenario): + modes = ["local"] etc_checkbox = read_text(chains, "etc_checkbox.conf") etc_checkbox_includes_includes = read_text( chains, "etc_checkbox_includes_includes.conf"