gaptool-server 0.5.15 → 0.5.16

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: a3d4d38df27a09f49c443fb52cca6144595e3879
4
- data.tar.gz: 62462d16f6bc23e4d3eacef18c7c87c9b487bb11
3
+ metadata.gz: 0fd63ab8bc84e1cc2c99f9d9015730d046351b1c
4
+ data.tar.gz: 76869f6c229beb9dc884cbd40af34ab1458dec5d
5
5
  SHA512:
6
- metadata.gz: f90028af14f86e177a660c0bbf57037f98c9763d81d919c6ae921c7fef6d6fdee37bacbded97b86c5d915c2dfcc2dc06666fe45dd452510134e7d91a44807c23
7
- data.tar.gz: 5bb80d3482d3e144b07b707e6212bc4c1481ffc9791ac81ce11c9cc163e03aeebef8ff5576cc4a1ac18e6f0b4d4355a73ffa2d8b5e90310aeef35ed013ae4f40
6
+ metadata.gz: cce4d8777e99b014ef9f231332bfb916779a99b3695647590d99ad6960f475afaa7dc3fbeae5051149c422a48bda4eb77356fceebe421459df9103a74abe4765
7
+ data.tar.gz: 2ccd19ac1c264efd94bf7ccb92d5b8266beebb6cf5b49bff847d363e1a1857ffd3c3419884ed974eae154c6d7d6207158bbc6743b2af60f2b981313813718595
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.15
1
+ 0.5.16
data/lib/routes/main.rb CHANGED
@@ -123,6 +123,7 @@ class GaptoolServer < Sinatra::Application
123
123
 
124
124
  @chef_repo = host_data['chef_repo'] && !host_data['chef_repo'].empty? ? host_data['chef_repo'] : $redis.hget('config', 'chefrepo')
125
125
  @chef_branch = host_data['chef_branch'] && !host_data['chef_branch'].empty? ? host_data['chef_branch'] : $redis.hget('config', 'chefbranch')
126
+ @chef_environment = data['environment']
126
127
  @initkey = $redis.hget('config', 'initkey')
127
128
  @json = {
128
129
  'hostname' => hostname,
data/lib/views/init.erb CHANGED
@@ -8,5 +8,5 @@ chmod 600 /root/.ssh/id_rsa
8
8
  echo 'StrictHostKeyChecking no' > /root/.ssh/config
9
9
  git clone -b <%= @chef_branch %> <%= @chef_repo %> /root/ops
10
10
  echo '<%= @json %>' > /root/init.json
11
- chef-solo -c /root/ops/cookbooks/init.rb -j /root/init.json && \
11
+ chef-solo -c /root/ops/cookbooks/init.rb -j /root/init.json -E <%= @chef_environment %> && \
12
12
  (rm /root/.ssh/id_rsa; userdel -r ubuntu; rm -rf /root/.ssh; rm -rf /root/ops)
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.15
4
+ version: 0.5.16
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-10-03 00:00:00.000000000 Z
12
+ date: 2014-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  requirements: []
155
155
  rubyforge_project:
156
- rubygems_version: 2.4.1
156
+ rubygems_version: 2.2.2
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: gaptool-server for managing cloud resources