gaptool-server 0.5.17 → 0.5.18
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 +4 -4
- data/VERSION +1 -1
- data/lib/routes/main.rb +1 -0
- data/lib/views/init.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 529856cee4dbd726fe0d6a7021b1d60005aec2c3
|
|
4
|
+
data.tar.gz: e2dfbf7f5ab4672fb26e2de4271806acc4ffde7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b8ec0f90585164e483b3adbe96c37273cbeb4f7e9e375e11a2fe4f92d371103cf1307df62ec3b8254ee344412e1c4c7823915af7f5818c52aecae711fc397dc
|
|
7
|
+
data.tar.gz: de7ecce6ad8a3c0ed67ab5084ed4653c330d501f8fda56b6c201061b2fd56439fd2acbe4f559fab9ecbb80ccf3f1588f7e5128b09987303e96b5121a9706f864
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.18
|
data/lib/routes/main.rb
CHANGED
|
@@ -125,6 +125,7 @@ class GaptoolServer < Sinatra::Application
|
|
|
125
125
|
@chef_branch = host_data['chef_branch'] && !host_data['chef_branch'].empty? ? host_data['chef_branch'] : $redis.hget('config', 'chefbranch')
|
|
126
126
|
@chef_environment = data['environment']
|
|
127
127
|
@initkey = $redis.hget('config', 'initkey')
|
|
128
|
+
@chef_version = $redis.hget("config", "chef_version") || "11.16.4"
|
|
128
129
|
@json = {
|
|
129
130
|
'hostname' => hostname,
|
|
130
131
|
'recipe' => 'init',
|
data/lib/views/init.erb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
apt-get update
|
|
2
2
|
apt-get install -ymq zsh git libssl-dev ruby1.9.1-full build-essential
|
|
3
|
-
curl -LO https://www.getchef.com/chef/install.sh
|
|
3
|
+
curl -LO https://www.getchef.com/chef/install.sh -v <%= @chef_version %>
|
|
4
4
|
bash install.sh
|
|
5
5
|
|
|
6
6
|
cat << 'EOFKEY' > /root/.ssh/id_rsa
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gaptool-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Bailey
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-12-
|
|
12
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sinatra
|