linecook-gem 0.0.8 → 0.0.9

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: fc1a5a08a667429d011356bb5999ca782f67008e
4
- data.tar.gz: 95dc725612bede202517a9f6b499aefc04b74df2
3
+ metadata.gz: 6c51e426e2458257cc45027ee67d79e28fd4d87f
4
+ data.tar.gz: 10baf2c1aeb5956072901ab420826b68ef7d58c2
5
5
  SHA512:
6
- metadata.gz: 6df66162f362888f51cfdb1ed241914620a9b73d76d13f083cd2a07a19f5e74b64d33544431453f88452226b64539f25ec3f9c2f23d994c2e931bd4dc49c76ab
7
- data.tar.gz: 0d3479b56cb5e80c6cb16b013cbdc6c68a6dacbc2e8495fdaea58b0cc9c55c91f64552359d35bdfe55241ddccc8ef2693619ada3fa06afbcffd7eed8fc4e9e69
6
+ metadata.gz: 03ded1c90693263a6ef9363287e490258902cd2a7e646e5971d7ca344cc2908f3dfa9d8826e3165e3e2ff7a95914b7aaa7925f71d16ec5a32bc3ad31e3e052df
7
+ data.tar.gz: ce01e2f2e7f52b5513a3337990e30acffa2302b5e1112938664a715a9f3e1e0945c7e33b0821770bb5d040680dc7a8c10d37a8aa77a90265df995f8ba0bbb383
@@ -24,6 +24,7 @@ module Linecook
24
24
  build.ssh.forward(chef_port)
25
25
  build.ssh.upload(script, '/tmp/chef_bootstrap')
26
26
  build.ssh.run('sudo bash /tmp/chef_bootstrap')
27
+ build.ssh.run('sudo rm -rf /etc/chef')
27
28
  build.ssh.stop_forwarding
28
29
  end
29
30
 
@@ -65,7 +65,7 @@ module Linecook
65
65
  def secrets
66
66
  @secrets ||= begin
67
67
  if File.exists?(SECRETS_PATH)
68
- ejson_path = `which ejson`
68
+ ejson_path = `which ejson`.strip
69
69
  JSON.load(`sudo #{ejson_path} decrypt secrets.ejson`).deep_symbolize_keys
70
70
  else
71
71
  {}
@@ -1,3 +1,3 @@
1
1
  module Linecook
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linecook-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel