Created
November 4, 2015 09:11
-
-
Save oz123/c8d69d0121d5c8acdf82 to your computer and use it in GitHub Desktop.
weired output from salt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@saltmaster:/srv/salt$ vim common/py_packages.sls # edit and mark django for downgrade | |
vagrant@saltmaster:/srv/salt$ sudo salt minion1 state.sls common.py_packages | |
minion1: | |
---------- | |
ID: install_django == 1.8.0 | |
Function: pip.installed | |
Name: django == 1.8.0 | |
Result: True | |
Comment: All packages were successfully installed | |
Started: 08:58:20.748303 | |
Duration: 14930.488 ms | |
Changes: | |
---------- | |
Django==1.8: | |
Installed | |
Summary | |
------------ | |
Succeeded: 1 (changed=1) # <= make sense, I downgraded django | |
Failed: 0 | |
------------ | |
Total states run: 1 | |
vagrant@saltmaster:/srv/salt$ sudo salt minion1 state.sls common.py_packages | |
minion1: | |
---------- | |
ID: install_django == 1.8.0 | |
Function: pip.installed | |
Name: django == 1.8.0 | |
Result: True | |
Comment: All packages were successfully installed | |
Started: 09:01:43.795841 | |
Duration: 2542.604 ms | |
Changes: | |
---------- | |
Django==1.8: | |
Installed | |
Summary | |
------------ | |
Succeeded: 1 (changed=1) # <= make NO sense, I django is already there with the correct version | |
Failed: 0 | |
------------ | |
Total states run: 1 | |
vagrant@saltmaster:/srv/salt$ vim common/py_packages.sls # edited, bumped version | |
vagrant@saltmaster:/srv/salt$ sudo salt minion1 state.sls common.py_packages | |
minion1: | |
---------- | |
ID: install_django == 1.8.5 | |
Function: pip.installed | |
Name: django == 1.8.5 | |
Result: True | |
Comment: All packages were successfully installed | |
Started: 09:02:56.639567 | |
Duration: 15740.959 ms | |
Changes: | |
---------- | |
Django==1.8.5: | |
Installed | |
Summary | |
------------ | |
Succeeded: 1 (changed=1) # <= makes sense, I upgrade django again | |
Failed: 0 | |
------------ | |
Total states run: 1 | |
vagrant@saltmaster:/srv/salt$ sudo salt minion1 state.sls common.py_packages | |
minion1: | |
---------- | |
ID: install_django == 1.8.5 | |
Function: pip.installed | |
Name: django == 1.8.5 | |
Result: True | |
Comment: Python package django == 1.8.5 was already installed | |
All packages were successfully installed | |
Started: 09:03:16.873352 | |
Duration: 1592.66 ms | |
Changes: | |
Summary | |
------------ | |
Succeeded: 1 # <= makes sense, django is already installed | |
Failed: 0 | |
------------ | |
Total states run: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment