Skip to content

Commit

Permalink
make the config chains scenario in metabox local-only (#691)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kissiel authored Sep 4, 2023
1 parent 2675fc7 commit 2f03de6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metabox/metabox/scenarios/config/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2f03de6

Please sign in to comment.