Repair apply targeting

In a master setup, target the minions, not the master itself.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-05-20 23:11:20 +02:00
parent fee235753f
commit c0af9d8a68
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -227,7 +227,7 @@ def main_interactive():
if 'apply' in testconf: if 'apply' in testconf:
log.debug('state.apply requested') log.debug('state.apply requested')
if masters is not None: if masters is not None:
target = masters[0] target = 'scullery-*'
else: else:
target = 'local' target = 'local'
runapply(testconf['apply'], target) runapply(testconf['apply'], target)