itamae-plugin-recipe-docker 0.2.1 → 0.2.2

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: 3765dcc0c800446dce88b0dba2d276d4cd7c5184
4
- data.tar.gz: 9367a6bbb1444d1df8d9ada392a3fd0561010d6b
3
+ metadata.gz: 83c0f25b957f1a1c3438d0841e089b502a63d756
4
+ data.tar.gz: 938e671d950070286868aeb11427c63b3ac26293
5
5
  SHA512:
6
- metadata.gz: 7b9e4b647961eee32d7ab2a339561155b6be6d212b1ff3c6198582e0e7aa05ed213bea8d0adea7bfbd1d892d8c6397d2380b45c94cb52111d666f4b909cef3d7
7
- data.tar.gz: 31fddda6ca54c0e5b6ecb7a09b9ae8d9b0b6c372e15a5efdb05791d15420883dbe718097b89b3a05807693b461d2beaf7c49f2b0b275a090884d471d0e15e871
6
+ metadata.gz: d65625a810e132376a7d7419a1445365e635ef94db5120822f22fce80ffc3cab20e3c75872da15bed65ec86943cfd04f5c1c20d677b92359dcdfa143b3874a47
7
+ data.tar.gz: 95afd3ec92ed4b18cb73ad67d1eaf01865be59e0d17cdd9b13c57e2fbb6fb2558a26260b01afe3d41b13c22e1329ad5814bda7b2af2a1efbfba6c580c49eb304
@@ -29,12 +29,15 @@ when 'darwin'
29
29
  cask 'dockertoolbox'
30
30
 
31
31
  when 'debian'
32
- execute 'echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list' do
33
- not_if 'cat /etc/apt/sources.list | grep wheezy-backports'
34
- end
32
+ case node[:platform_version].to_i
33
+ when 7 # Wheezy (7.x)
34
+ execute 'echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list' do
35
+ not_if 'cat /etc/apt/sources.list | grep wheezy-backports'
36
+ end
35
37
 
36
- execute 'apt-get install linux-image-amd64 -t wheezy-backports && reboot' do
37
- not_if 'dpkg -l | grep -q linux-image-amd64'
38
+ execute 'apt-get install linux-image-amd64 -t wheezy-backports && reboot' do
39
+ not_if 'dpkg -l | grep -q linux-image-amd64'
40
+ end
38
41
  end
39
42
 
40
43
  execute 'curl -sSL https://get.docker.com/ | sh' do
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Docker
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
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.1
4
+ version: 0.2.2
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-05-02 00:00:00.000000000 Z
11
+ date: 2016-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -109,3 +109,4 @@ signing_key:
109
109
  specification_version: 4
110
110
  summary: Itamae recipe plugin to install Docker.
111
111
  test_files: []
112
+ has_rdoc: