-
-
Save bradleyfalzon/235f6936b4477ca533ea to your computer and use it in GitHub Desktop.
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
pull_nginx_source: | |
docker.pulled: | |
- name: bradleyfalzon/nginx-source:1.7.9 | |
install_nginx_source: | |
docker.installed: | |
- name: nginx-sourcename | |
- image: bradleyfalzon/nginx-source:1.7.9 | |
install_docker: | |
docker.running: | |
- container: nginx-sourcename | |
- require: | |
- docker: install_nginx_source | |
ID: pull_nginx_source | |
Function: docker.pulled | |
Name: bradleyfalzon/nginx-source:1.7.9 | |
Result: True | |
Comment: Image already pulled: bradleyfalzon/nginx-source:1.7.9 | |
Started: 04:12:22.310081 | |
Duration: 51.224 ms | |
Changes: | |
---------- | |
ID: install_nginx_source | |
Function: docker.installed | |
Name: nginx-sourcename | |
Result: True | |
Comment: image 'nginx-sourcename' already exists | |
Started: 04:12:22.361589 | |
Duration: 51.349 ms | |
Changes: | |
---------- | |
ID: install_docker | |
Function: docker.running | |
Result: False | |
Comment: An exception occurred in this state: Traceback (most recent call last): | |
File "/tmp/.root_7ed7e7__salt/salt/state.py", line 1533, in call | |
**cdata['kwargs']) | |
File "/tmp/.root_7ed7e7__salt/salt/states/dockerio.py", line 741, in runni | |
ng | |
restart_policy=restart_policy, cap_add=cap_add, cap_drop=cap_drop | |
File "/tmp/.root_7ed7e7__salt/salt/modules/dockerio.py", line 926, in star | |
t | |
__salt__['mine.send']('docker.get_containers', host=True) | |
File "/tmp/.root_7ed7e7__salt/salt/modules/mine.py", line 148, in send | |
return __salt__['data.update']('mine_cache', data) | |
File "/tmp/.root_7ed7e7__salt/salt/modules/data.py", line 94, in update | |
dump(store) | |
File "/tmp/.root_7ed7e7__salt/salt/modules/data.py", line 74, in dump | |
serial.dump(new_data, fn_) | |
File "/tmp/.root_7ed7e7__salt/salt/payload.py", line 149, in dump | |
fn_.write(self.dumps(msg)) | |
File "/tmp/.root_7ed7e7__salt/salt/payload.py", line 115, in dumps | |
return msgpack.dumps(msg) | |
NameError: global name 'msgpack' is not defined | |
Started: 04:12:22.414121 | |
Duration: 225.671 ms | |
Changes: | |
Summary | |
------------ | |
Succeeded: 3 | |
Failed: 1 | |
------------ | |
Total states run: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment