knife-joyent 0.4.4 → 0.4.5

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: 15d59b9aeff10e1ef45e7b81c5728a07f1363320
4
- data.tar.gz: 3f3294290197ab3b44b62794806189e587c24d4e
3
+ metadata.gz: 06f8a691e8fcef6cd3a29f19b6c1e0b690b600ba
4
+ data.tar.gz: 1b03a7c634502edc8a0d3b150772c71a3f342073
5
5
  SHA512:
6
- metadata.gz: 97d7bf1082f8a3a2dc303e44cbeafa6f764b72eccf2958e2658033dfc5b8fe299076373e80062fbd19a11983b248dcabc89681b0fcf3fc52644b449ee7e49742
7
- data.tar.gz: d4200cdddfad2c864016b2e6047595f373b878f5a7db0c4d69de0d00ec2e38003c591a1a999150003ae3adef9921771e7fe8b36012e363ff44d4c7d1b9efbed4
6
+ metadata.gz: 3e1780a45058aa5788c6076209a4e4ab4c87de2dfad622a10efd79a32208b2d8d6a3145cf1f1754a52e089eeef7015813d38877e986df743999cf7ef5c6f9bf3
7
+ data.tar.gz: 71668684a9418d201ea0029f15f17879bf2a95eadcc89b7ff8986e28e9913b7ca0b1d426bc19c78e679e99916e0705827a928062fcf6c88efe9a1f041b419ece
@@ -239,8 +239,8 @@ class Chef
239
239
  Chef::Log.debug("Bootstrap distro = #{config[:distro]}")
240
240
  bootstrap.config[:distro] = config[:distro]
241
241
 
242
- #Chef::Log.debug("Bootstrap use_sudo = #{config[:use_sudo]}")
243
- #bootstrap.config[:use_sudo] = true
242
+ Chef::Log.debug("Bootstrap use_sudo = #{config[:use_sudo]}")
243
+ bootstrap.config[:use_sudo] = true unless config[:ssh_user] == 'root'
244
244
 
245
245
  Chef::Log.debug("Bootstrap environment = #{config[:environment]}")
246
246
  bootstrap.config[:environment] = config[:environment]
@@ -1,3 +1,3 @@
1
1
  module KnifeJoyent
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-joyent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Chan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog