jgrevich-knife-solo 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -120,7 +120,7 @@ class Chef
120
120
  logging_arg = "-l debug" if config[:verbosity] > 0
121
121
 
122
122
  stream_command <<-BASH
123
- chef-solo -c #{chef_path}/solo.rb \
123
+ #{"sudo -E" if sudo_available?} chef-solo -c #{chef_path}/solo.rb \
124
124
  -j #{chef_path}/#{node_config} \
125
125
  #{logging_arg}
126
126
  BASH
@@ -1,5 +1,5 @@
1
1
  module KnifeSolo
2
2
  def self.version
3
- '0.1.1'
3
+ '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jgrevich-knife-solo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-29 00:00:00.000000000 Z
12
+ date: 2012-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake