Commit 0045a4ed by cloud

Remove halo

parent 425f6b43
...@@ -9,7 +9,6 @@ import yaml ...@@ -9,7 +9,6 @@ import yaml
import random import random
import os import os
import getpass import getpass
from halo import Halo
import argparse import argparse
...@@ -190,9 +189,9 @@ opts['file_roots'] = {'base': [join(PREFIX, 'salt')]} ...@@ -190,9 +189,9 @@ opts['file_roots'] = {'base': [join(PREFIX, 'salt')]}
opts['pillar_roots'] = {'base': [join(PREFIX, 'pillar')]} opts['pillar_roots'] = {'base': [join(PREFIX, 'pillar')]}
setup_console_logger(log_level='info') setup_console_logger(log_level='info')
caller = salt.client.Caller(mopts=opts) caller = salt.client.Caller(mopts=opts)
# Run install with salt # Run install with salt
with Halo(text='Installing', spinner='dots'): result = caller.function('state.sls', 'allinone', with_grains=True)
result = caller.function('state.sls', 'allinone', with_grains=True)
# Count errors and print to console # Count errors and print to console
error_num = 0 error_num = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment