kitchen-linode 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 721f77582e4f5220860cdfc0b07a58ece05360ad
4
- data.tar.gz: 16ba66a9d1f5bc84e5ca5f75b9bd5fcc071a6566
3
+ metadata.gz: 2ec51aec36f89f3503b97aa6fd3bcf6cbcc725cb
4
+ data.tar.gz: ca237ece7e7065f5fdcb74f3d9c55ba63b0965f0
5
5
  SHA512:
6
- metadata.gz: 500c0f06315b5265aaa38ff63075f185a7f84ae8dae5cfffc768d15e5d85d6482b0fca90a309c65cc4756f0e0796ac44861e0b1b367fb90231eb7d4940daf0ec
7
- data.tar.gz: 49c617d270a94a2f652d83139fbc77a965ceb71b06d927bdfc0a1603dcc3150b5ededb65c910de0c34deae1a783a5bdacb39080e2101a51909e9640aeae371c5
6
+ metadata.gz: 673fe3f5c1d1e83fbb9d63345d41a13db1b1da1c6d3324ec0c7b847a0afa3a737ab5f303084886e4c0face2531dd4097617cfd698fae23bf605a30ba64551478
7
+ data.tar.gz: 724418a084bd25d62d17af7688397bb1bea3a79c12efe1956a52ae1cb903eaffee4197a51ac584adc2c8289313f99c6846de8d1a4d387547248fccf01af7eaea
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.7.0
2
+
3
+ * changed default Distribution to 'Debian 8' to match change upstream
4
+
1
5
  ## 0.6.0
2
6
 
3
7
  * added an info line
data/README.md CHANGED
@@ -23,13 +23,16 @@ For many of these, you can specify an ID number, a full name, or a partial name
23
23
  LINODE_API_KEY Linode API Key environment variable, default: nil
24
24
  :username ssh user name, default: 'root'
25
25
  :password password for user, default: randomly generated hash
26
- :image Linux distribution, default: nil
27
- :data_center data center, default: 1
28
- :flavor linode type/amount of RAM, default: 1
26
+ :image Linux distribution, default: "Debian 8.1"
27
+ :data_center data center, default: "Atlanta"
28
+ :flavor linode type/amount of RAM, default: "Linode 1024"
29
29
  :payment_terms if you happen to have legacy default: 1
30
- :kernel Linux kernel, default: 215
30
+ :kernel Linux kernel, default: "Latest 64 bit"
31
31
  :private_key_path Location of your private key file, default: "~/.ssh/id_rsa"
32
32
  :public_key_path Location of your public key file, default: "~/.ssh/id_rsa.pub"
33
+ :ssh_timeout ssh timeout, default: 600 (seconds)
34
+ :sudo use sudo, default: True
35
+ :port ssh port, default: 22
33
36
  ```
34
37
 
35
38
  ## <a name="usage"></a> Usage
@@ -46,7 +49,6 @@ driver:
46
49
 
47
50
  provisioner:
48
51
  name: salt_solo
49
- salt_bootstrap_options: -P
50
52
  formula: vim
51
53
  state_top:
52
54
  base:
@@ -55,20 +57,50 @@ provisioner:
55
57
 
56
58
  platforms:
57
59
  - name: debian_jessie
58
- driver:
59
- flavor: 1024
60
- data_center: Dallas
61
- kernel: 4.0.2-x86_64-linode56
62
- image: Debian 8.1
63
60
 
64
61
  suites:
65
62
  - name: default
66
-
67
63
  ```
68
64
  then you're ready to run `kitchen test` or `kitchen converge`
69
65
  ```
70
66
  $ kitchen test
71
67
  ```
68
+ If you want to create a second yaml config; one for using Vagrant locally but a second to use the Linode driver when run on your CI server, create a config with a name like `.kitchen-ci.yml`:
69
+ ```
70
+ ---
71
+ driver:
72
+ name: linode
73
+
74
+ provisioner:
75
+ name: salt_solo
76
+ formula: vim
77
+ state_top:
78
+ base:
79
+ "*":
80
+ - vim
81
+
82
+ platforms:
83
+ - name: debian_jessie
84
+
85
+ suites:
86
+ - name: default
87
+ ```
88
+ Then you can run the second config by changing the KITCHEN_YAML environment variable:
89
+ ```
90
+ $ KITCHEN_YAML="./.kitchen-ci.yml" kitchen test
91
+ ```
92
+ If you want to change any of the default settings, you can do it in the 'platforms' area:
93
+ ```
94
+ ...
95
+ platforms:
96
+ - name: debian_jessie
97
+ driver:
98
+ flavor: 2048
99
+ data_center: Dallas
100
+ kernel: 4.0.2-x86_64-linode56
101
+ image: Debian 7
102
+ ...
103
+ ```
72
104
 
73
105
  ### <a name="config-require-chef-omnibus"></a> require\_chef\_omnibus
74
106
 
@@ -32,12 +32,12 @@ module Kitchen
32
32
 
33
33
  default_config :username, 'root'
34
34
  default_config :password, nil
35
- default_config :image, "Debian 8.1"
36
- default_config :data_center, "Atlanta"
37
- default_config :flavor, "Linode 1024"
35
+ default_config :image, 140
36
+ default_config :data_center, 4
37
+ default_config :flavor, 1
38
38
  default_config :payment_terms, 1
39
39
  default_config :ssh_key_name, nil
40
- default_config :kernel, "Latest 64 bit"
40
+ default_config :kernel, 138
41
41
 
42
42
  default_config :sudo, true
43
43
  default_config :port, 22
@@ -20,6 +20,6 @@ module Kitchen
20
20
 
21
21
  module Driver
22
22
  # Version string for Linode Kitchen driver
23
- LINODE_VERSION = "0.6.0"
23
+ LINODE_VERSION = "0.7.0"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-linode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Taylor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-11 00:00:00.000000000 Z
11
+ date: 2016-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen