knife-windows 0.8.4.rc.1 → 0.8.4.rc.2

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: e17f77cb8b3a227b11b4af7bd3169ca52e888422
4
- data.tar.gz: 0b5513f0f7541b1d1c0306acf770cd59093b141c
3
+ metadata.gz: 312e69c1a7545c48db33da4833dc277bfebbdd65
4
+ data.tar.gz: 22c3c072c251f3448e386a18fdc61ca79d4e6657
5
5
  SHA512:
6
- metadata.gz: 68789276f57eac9269c4f04ba252c76130766f09da5d76e7d14c15ed14a78e0e09e24121e9949d642067efadd9e1235e18355ad2c30d00eb7c757cd10cc1f2a0
7
- data.tar.gz: 7da5d52384a19d703c069495ec6f612917fa739def17b057424db73d5695ac63da375937d3f5cf18d8e4c0d1c99732e0608d7a883ec45653674baabc29d90e1d
6
+ metadata.gz: d954be96b22329b9fd4fde3fe771d54356a1d9f72cee838f9d0a6645c327665a3fc82917abe7cd2a4f17abcd2d9c630ccf299fdf5540450a538390506ff42628
7
+ data.tar.gz: eac28d271deb924f600d06314a324187532870c403d2da96153f3fe5bd23666c6fe0ebff0fb14c36fda9fb682ee05668ee7e0e4628d9f3fb4f45e169a34d342a
@@ -199,7 +199,7 @@ echo Validation key written.
199
199
  <% end -%>
200
200
 
201
201
  <% unless trusted_certs.empty? -%>
202
- mkdir -p C:/chef/trusted_certs
202
+ mkdir <%= bootstrap_directory %>\trusted_certs
203
203
  <%= trusted_certs %>
204
204
  <% end -%>
205
205
 
@@ -247,9 +247,9 @@ WGET_PS
247
247
  def trusted_certs_content
248
248
  content = ""
249
249
  if @chef_config[:trusted_certs_dir]
250
- Dir.glob(File.join(Chef::Util::PathHelper.escape_glob(@chef_config[:trusted_certs_dir]), "*.{crt,pem}")).each do |cert|
251
- content << "cat > /C:/chef/trusted_certs/#{File.basename(cert)} <<'EOP'\n" +
252
- IO.read(File.expand_path(cert)) + "\nEOP\n"
250
+ Dir.glob(File.join(PathHelper.escape_glob(@chef_config[:trusted_certs_dir]), "*.{crt,pem}")).each do |cert|
251
+ content << "> #{bootstrap_directory}/trusted_certs/#{File.basename(cert)} (\n" +
252
+ escape_and_echo(IO.read(File.expand_path(cert))) + "\n)\n"
253
253
  end
254
254
  end
255
255
  content
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Windows
3
- VERSION = "0.8.4.rc.1"
3
+ VERSION = "0.8.4.rc.2"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-windows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4.rc.1
4
+ version: 0.8.4.rc.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Chisamore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-12 00:00:00.000000000 Z
11
+ date: 2015-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: winrm-s