chef 13.12.3-universal-mingw32 → 13.12.14-universal-mingw32

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
- SHA1:
3
- metadata.gz: 9a1843db58eea4988d30b6ab32d2cf8e867e5367
4
- data.tar.gz: 482ef1ee774eda97fd11931c8602e6cebc673c28
2
+ SHA256:
3
+ metadata.gz: 7d32c80fb2917db8cdd064e6a0d981b6d3f2564c7b3570c03af37574ece1ee9e
4
+ data.tar.gz: 4891751cc51dd9d90624ad9d874952c6063e62e6271e69763d252a0e3995659b
5
5
  SHA512:
6
- metadata.gz: 4af479a83aaa82346a5e866f70c9e57aa777f725e7ebb7a9d874f7217e4c2d7792024c5a1f76602cca6b28f7eee53ebb86675c57ae22b131863a9f8b75f9717b
7
- data.tar.gz: f9d8c18a0173e4130f19b42ebc9d21c4ac3cd4b29216070a9fe16a4aa6d881034c5b46835b90f8b3c488d72a11a174b9d539520ee840b6dfbaae727011d43ecb
6
+ metadata.gz: c338e5c0f79c6f5bff45702a0a769fd2729df7a756ca26e74b43d30bf44bece8fee67a04703afce3fd43c293d2a9ff20fff1bbe4e545bd41d6aec129921953ad
7
+ data.tar.gz: 39865034b1dc623e54771f6d6749ac7037733069e3b091ebd3d9a2f2f22d2f7d0b21f90c8381c6c583edf60f1b40836db6c282005e1c00207b39830dbf60940d
@@ -285,6 +285,10 @@ class Chef
285
285
  def inspect
286
286
  "#{message}\n#{location}"
287
287
  end
288
+
289
+ def target
290
+ "property.html"
291
+ end
288
292
  end
289
293
 
290
294
  class Generic < Base
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Author:: Adam Jacob (<adam@chef.io>)
3
3
  # Author:: Christopher Walters (<cw@chef.io>)
4
- # Copyright:: Copyright 2008-2016 Chef Software, Inc.
4
+ # Copyright:: Copyright 2008-2019, Chef Software Inc.
5
5
  # License:: Apache License, Version 2.0
6
6
  #
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -20,6 +20,7 @@
20
20
  require "chef/dsl/platform_introspection"
21
21
  require "chef/mixin/powershell_out"
22
22
  require "chef/mixin/shell_out"
23
+ require "chef/mixin/lazy_module_include"
23
24
 
24
25
  class Chef
25
26
  module DSL
@@ -45,6 +46,7 @@ class Chef
45
46
  include Chef::DSL::PlatformIntrospection
46
47
  include Chef::Mixin::PowershellOut
47
48
  include Chef::Mixin::ShellOut
49
+ extend Chef::Mixin::LazyModuleInclude
48
50
  end
49
51
  end
50
52
  end
@@ -165,7 +165,7 @@ do_download() {
165
165
  <% if knife_config[:bootstrap_install_command] %>
166
166
  <%= knife_config[:bootstrap_install_command] %>
167
167
  <% else %>
168
- install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://omnitruck-direct.chef.io/chef/install.sh" %>"
168
+ install_sh="<%= knife_config[:bootstrap_url] ? knife_config[:bootstrap_url] : "https://omnitruck.chef.io/chef/install.sh" %>"
169
169
  if test -f /usr/bin/chef-client; then
170
170
  echo "-----> Existing Chef installation detected"
171
171
  else
@@ -164,7 +164,7 @@ class Chef
164
164
  disable_fs
165
165
  end
166
166
  ::File.open("/etc/filesystems", "a") do |fstab|
167
- fstab.puts("#{@new_resource.mount_point}:")
167
+ fstab.puts("\n\n#{@new_resource.mount_point}:")
168
168
  if network_device?
169
169
  device_details = device_fstab.split(":")
170
170
  fstab.puts("\tdev\t\t= #{device_details[1]}")
@@ -23,7 +23,7 @@ require "chef/version_string"
23
23
 
24
24
  class Chef
25
25
  CHEF_ROOT = File.expand_path("../..", __FILE__)
26
- VERSION = Chef::VersionString.new("13.12.3")
26
+ VERSION = Chef::VersionString.new("13.12.14")
27
27
  end
28
28
 
29
29
  #
@@ -202,12 +202,20 @@ WRONG
202
202
  it "should enable mount if it is mounted and not enabled" do
203
203
  @new_resource.options("nodev,rw")
204
204
  stub_mounted_enabled(@provider, @mounted_output, "")
205
+ # Add existing mount to test enable action appends additional mount with seperating blank line
205
206
  filesystems = StringIO.new
207
+ filesystems.puts <<~ETCFILESYSTEMS
208
+ /tmp/abc:
209
+ dev = /dev/sdz2
210
+ vfs = jfs2
211
+ mount = true
212
+ options = rw
213
+ ETCFILESYSTEMS
206
214
  allow(::File).to receive(:open).with("/etc/filesystems", "a").and_yield(filesystems)
207
215
 
208
216
  @provider.run_action(:enable)
209
217
 
210
- expect(filesystems.string).to match(%r{^/tmp/foo:\n\tdev\t\t= /dev/sdz1\n\tvfs\t\t= jfs2\n\tmount\t\t= false\n\toptions\t\t= nodev,rw\n$})
218
+ expect(filesystems.string).to match(%r{^\n\n/tmp/foo:\n\tdev\t\t= /dev/sdz1\n\tvfs\t\t= jfs2\n\tmount\t\t= false\n\toptions\t\t= nodev,rw\n$})
211
219
  end
212
220
 
213
221
  it "should not enable mount if it is mounted and already enabled and mount options are unchanged" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.12.3
4
+ version: 13.12.14
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.12.3
19
+ version: 13.12.14
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.12.3
26
+ version: 13.12.14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -2583,7 +2583,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2583
2583
  version: '0'
2584
2584
  requirements: []
2585
2585
  rubyforge_project:
2586
- rubygems_version: 2.6.14
2586
+ rubygems_version: 2.7.9
2587
2587
  signing_key:
2588
2588
  specification_version: 4
2589
2589
  summary: A systems integration framework, built to bring the benefits of configuration