chef 13.9.1-universal-mingw32 → 13.9.4-universal-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 129ea66d9537785a3cc9ede009017b0ae4857e15
4
- data.tar.gz: 72cb987366e8e5b7b9299d9e761da3b50ff4ea65
3
+ metadata.gz: 645833b67bfcdac9bdd59b1571df9a7332616987
4
+ data.tar.gz: b4cff6d1c9b01ffbe669b52a92fef343a186bbe0
5
5
  SHA512:
6
- metadata.gz: dfe7fd479ee6bed400163e06b4c3ca5e34b081111b8fb262081311529cf8e7792c1cd1e838021691885aade50fc433e8a14c275ad82e31e4c4a4be5554ffed9c
7
- data.tar.gz: 2cbc29e666e7c612592dbdceb324ed3bc2e0abc9b4ca738fdbd32a7cedf8ab74831be034af3a7cf3b3c59d185bd97cad2504f44f3fc6031ea56c42165a580c9b
6
+ metadata.gz: be6b3e77b6ac11eb0979cf3d204145b431aa38bc9ab6f492217de9d42f62cf86533f4dade19ee105a098212c0b643affa8736a6ae446035228c5d6826afbd978
7
+ data.tar.gz: 253373393ed254c30fc99c130e2bb359018ce0145273a5e4c28454fd704d4a4557056f1e46eaf45e0ddb79d3ea7338d2d4537ee58b7935cee476fe56dfbc1ea4
data/Gemfile CHANGED
@@ -12,8 +12,6 @@ gem "ohai", "~> 13"
12
12
  gem "chef-config", path: File.expand_path("../chef-config", __FILE__) if File.exist?(File.expand_path("../chef-config", __FILE__))
13
13
  gem "cheffish", "~> 13" # required for rspec tests
14
14
 
15
- # FFI crashes on EL6/7 on 1.9.22 and newer
16
- gem "ffi", "= 1.9.21"
17
15
  group(:omnibus_package) do
18
16
  gem "appbundler"
19
17
  gem "rb-readline"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.9.1
1
+ 13.9.4
@@ -62,6 +62,8 @@ iface <%= new_resource.device %> inet static
62
62
  protected
63
63
 
64
64
  def enforce_interfaces_dot_d_sanity
65
+ # on ubuntu 18.04 there's no interfaces file and it uses interfaces.d by default
66
+ return if ::File.directory?(INTERFACES_DOT_D_DIR) && !::File.exist?(INTERFACES_FILE)
65
67
  # create /etc/network/interfaces.d via dir resource (to get reporting, etc)
66
68
  dir = Chef::Resource::Directory.new(INTERFACES_DOT_D_DIR, run_context)
67
69
  dir.run_action(:create)
@@ -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.9.1")
26
+ VERSION = Chef::VersionString.new("13.9.4")
27
27
  end
28
28
 
29
29
  #
@@ -16,6 +16,7 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
+ require "spec_helper"
19
20
  require "functional/resource/base"
20
21
  require "chef/mixin/shell_out"
21
22
 
@@ -52,7 +53,7 @@ describe Chef::Resource::Ifconfig, :requires_root, :skip_travis, :external => in
52
53
  end
53
54
 
54
55
  def fetch_first_interface_name
55
- shell_out("ifconfig | grep Ethernet | head -1 | cut -d' ' -f1").stdout.strip
56
+ shell_out("ip link list |grep UP|grep -vi loop|head -1|cut -d':' -f 2").stdout.strip
56
57
  end
57
58
 
58
59
  # **Caution: any updates to core interfaces can be risky.
@@ -23,7 +23,7 @@ require "webrick"
23
23
  module AptServer
24
24
  def enable_testing_apt_source
25
25
  File.open("/etc/apt/sources.list.d/chef-integration-test.list", "w+") do |f|
26
- f.puts "deb http://localhost:9000/ sid main"
26
+ f.puts "deb [trusted=yes] http://localhost:9000/ sid main"
27
27
  end
28
28
  # Magic to update apt cache for only our repo
29
29
  shell_out!("apt-get update " +
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.9.1
4
+ version: 13.9.4
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-05-03 00:00:00.000000000 Z
11
+ date: 2018-06-05 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.9.1
19
+ version: 13.9.4
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.9.1
26
+ version: 13.9.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement