Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
17
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0045a4ed
authored
Mar 01, 2018
by
cloud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove halo
parent
425f6b43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
install.py
+2
-3
No files found.
install.py
View file @
0045a4ed
...
...
@@ -9,7 +9,6 @@ import yaml
import
random
import
os
import
getpass
from
halo
import
Halo
import
argparse
...
...
@@ -190,9 +189,9 @@ opts['file_roots'] = {'base': [join(PREFIX, 'salt')]}
opts
[
'pillar_roots'
]
=
{
'base'
:
[
join
(
PREFIX
,
'pillar'
)]}
setup_console_logger
(
log_level
=
'info'
)
caller
=
salt
.
client
.
Caller
(
mopts
=
opts
)
# 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
error_num
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment