Last active
October 12, 2015 22:18
-
-
Save chasebolt/5aef33e234c5e3f7cefc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[root@metal ~]# rm -f /tmp/*.ini; docker ps; chef-client | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
99aa87348f38 alpine:latest "sleep 3000" 23 seconds ago Up 22 seconds alpine | |
Starting Chef Client, version 12.5.1 | |
resolving cookbooks for run list: ["server"] | |
Synchronizing Cookbooks: | |
- server (0.1.0) | |
- firewalld (1.1.1) | |
- compat_resource (12.5.9) | |
- docker (2.0.0) | |
- docker-apps (0.1.1) | |
Compiling Cookbooks... | |
Converging 13 resources | |
Recipe: firewalld::enable | |
* yum_package[firewalld] action install (up to date) | |
* service[firewalld] action enable (up to date) | |
* service[firewalld] action start (up to date) | |
* service[iptables] action disable (up to date) | |
* service[iptables] action stop (up to date) | |
* service[ip6tables] action disable (up to date) | |
* service[ip6tables] action stop (up to date) | |
Recipe: server::storage | |
* directory[/data/ssd] action create (up to date) | |
* directory[/data/storage] action create (up to date) | |
* mount[/data/storage] action mount (up to date) | |
* mount[/data/storage] action enable (up to date) | |
Recipe: docker-apps::default | |
* docker_service_systemd[default] action create | |
* remote_file[/usr/bin/docker] action create (up to date) | |
(up to date) | |
* docker_service_systemd[default] action start | |
* template[/lib/systemd/system/docker.service] action create (up to date) | |
* execute[systemctl daemon-reload] action nothing (skipped due to action :nothing) | |
* template[/usr/lib/tmpfiles.d/docker.conf] action create (up to date) | |
* service[docker] action enable (up to date) | |
* service[docker] action start (up to date) | |
* bash[docker-wait-ready] action run (skipped due to not_if) | |
(up to date) | |
Recipe: docker-apps::test | |
* directory[/tmp] action create (up to date) | |
* file[/tmp/some_config.ini] action create | |
- create new file /tmp/some_config.ini | |
- update content in file /tmp/some_config.ini from none to 8b7df1 | |
--- /tmp/some_config.ini 2015-10-12 15:18:39.640670262 -0700 | |
+++ /tmp/.some_config.ini20151012-4601-1745cxm 2015-10-12 15:18:39.640670262 -0700 | |
@@ -1 +1,2 @@ | |
+blah | |
* docker_container[alpine] action dependencies_updated (up to date) | |
* file[/tmp/another_config.ini] action create | |
- create new file /tmp/another_config.ini | |
- update content in file /tmp/another_config.ini from none to 8b7df1 | |
--- /tmp/another_config.ini 2015-10-12 15:18:39.699670262 -0700 | |
+++ /tmp/.another_config.ini20151012-4601-msfvsp 2015-10-12 15:18:39.699670262 -0700 | |
@@ -1 +1,2 @@ | |
+blah | |
* docker_container[alpine] action dependencies_updated (up to date) | |
* docker_image[alpine] action pull_if_missing (up to date) | |
* docker_container[alpine] action run | |
- stopping alpine | |
- deleting alpine | |
- update alpine | |
- set command to "sleep 4000" (was "sleep 3000") | |
- set dependencies_updated to true (was nil) | |
- starting alpine | |
* docker_container[alpine] action run (up to date) | |
Running handlers: | |
Running handlers complete | |
Chef Client finished, 3/28 resources updated in 17 seconds | |
[root@metal ~]# docker ps | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
b58628f42dba alpine:latest "sleep 4000" 7 seconds ago Up 6 seconds alpine | |
[root@metal ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment