]> git.ipfire.org Git - people/jschlag/nitsi.git/commit
Improve substitution of the all: statement
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 28 Jul 2018 09:49:37 +0000 (11:49 +0200)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 28 Jul 2018 09:49:37 +0000 (11:49 +0200)
commit5945ce2a76fd758e14cd77a71069875c9ae0dac8
treee1a5829c1b5aa490fb5a3ab4942b432a4d7b608e
parent3dac98813960083e7f79093de911582093efe2cb
Improve substitution of the all: statement

We now substitute the all: statement in 3 stages:

1. We check if we get a setting for it which states which machines
should substitute all: (The setting is not fully implemented yet but all
changes which need to be done in recipe.py are done)

2. We try to get all machines named in the recipe and try to substitute
all: with these list.

3. If all other methods faile dwe substitute all: with all amchines
named in the virtual environment.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
src/nitsi/recipe.py
src/nitsi/test.py