summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-26 10:36:05 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-26 10:36:05 +0200
commite47502b6de539e3da8fb9ceeb4c96708f86dd5c7 (patch)
tree962904528e9eaf9c6a0adab99ca9e39efc76f46e
parentd98a0d596790664e9226db63639d2299dc57312c (diff)
downloadvyos-1x-e47502b6de539e3da8fb9ceeb4c96708f86dd5c7.tar.gz
vyos-1x-e47502b6de539e3da8fb9ceeb4c96708f86dd5c7.zip
salt: T2382: add missing verify()
-rwxr-xr-xsrc/conf_mode/salt-minion.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/salt-minion.py b/src/conf_mode/salt-minion.py
index 15bf18a3d..78eda08f3 100755
--- a/src/conf_mode/salt-minion.py
+++ b/src/conf_mode/salt-minion.py
@@ -77,6 +77,9 @@ def get_config():
return salt
+def verify(salt):
+ return None
+
def generate(salt):
if not salt:
return None
@@ -127,6 +130,7 @@ def apply(salt):
if __name__ == '__main__':
try:
c = get_config()
+ verify(c)
generate(c)
apply(c)
except ConfigError as e: