itamae-plugin-recipe-docker 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf49dded02a43953b72a1a586f49cb3c06a4cd45
4
- data.tar.gz: 36fe5b29bfe557a2d3ae20a7ac4a5b8c8034bc57
3
+ metadata.gz: 3765dcc0c800446dce88b0dba2d276d4cd7c5184
4
+ data.tar.gz: 9367a6bbb1444d1df8d9ada392a3fd0561010d6b
5
5
  SHA512:
6
- metadata.gz: a930656af45121b060eb0592ab36efabec4f1a38a5ad59d1b8979c26bddcaffd8192bbfb1a469b28948e0beb2e7f8fa654482b0b75a387d9fa628cf48909c320
7
- data.tar.gz: 563635d70d733a0eb7e337ed060e174a3f70ceda329cce6fe303708bfa4513fa46cda37d10874ffc2116e5807d3f1939e1797a537f173e394c22a6ae4595a647
6
+ metadata.gz: 7b9e4b647961eee32d7ab2a339561155b6be6d212b1ff3c6198582e0e7aa05ed213bea8d0adea7bfbd1d892d8c6397d2380b45c94cb52111d666f4b909cef3d7
7
+ data.tar.gz: 31fddda6ca54c0e5b6ecb7a09b9ae8d9b0b6c372e15a5efdb05791d15420883dbe718097b89b3a05807693b461d2beaf7c49f2b0b275a090884d471d0e15e871
data/README.md CHANGED
@@ -35,15 +35,26 @@ Or install it yourself as:
35
35
  Write a following line to your itamae recipe.
36
36
 
37
37
  ```rb
38
+ # recipe.rb
39
+
38
40
  # Install Docker, start it and ensure it starts on boot.
39
41
  include_recipe "docker::install"
42
+ ```
43
+
44
+ Execute it with: `itamae ssh -h ... recipe.rb`.
40
45
 
46
+ If you want to add users to docker group, configure your node.yml as:
47
+
48
+ ```yml
49
+ # node.yml
41
50
  docker:
42
51
  # Users who is added to docker group (optional)
43
52
  users:
44
53
  - k0kubun
45
54
  ```
46
55
 
56
+ Execute it with: `itamae ssh -h ... -y node.yml recipe.rb`
57
+
47
58
  NOTE: Some versions of **Debian and Ubuntu reboot**.
48
59
  And you should apply the recipe again after the reboot.
49
60
 
@@ -37,10 +37,6 @@ when 'debian'
37
37
  not_if 'dpkg -l | grep -q linux-image-amd64'
38
38
  end
39
39
 
40
- execute 'apt-get update' do
41
- not_if 'which docker'
42
- end
43
-
44
40
  execute 'curl -sSL https://get.docker.com/ | sh' do
45
41
  not_if 'which docker'
46
42
  end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Docker
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-02-06 00:00:00.000000000 Z
11
+ date: 2016-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -109,4 +109,3 @@ signing_key:
109
109
  specification_version: 4
110
110
  summary: Itamae recipe plugin to install Docker.
111
111
  test_files: []
112
- has_rdoc: