chef 13.9.1 → 13.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/VERSION +1 -1
- data/lib/chef/provider/ifconfig/debian.rb +2 -0
- data/lib/chef/version.rb +1 -1
- data/spec/functional/resource/ifconfig_spec.rb +2 -1
- data/spec/functional/resource/package_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0a3b0e99d63bab3ec6bb3bca48a6429c698aa4
|
4
|
+
data.tar.gz: b3b7f067508a950eee10f5567929f875c94b6563
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62bd331eb4c8faf34229dbf79f6615ccd5e157bb42e699d65081a2b3988b17000e9c802e96ef7b38516d329bd929cd371f13fc02481c91205150a7312ef418e2
|
7
|
+
data.tar.gz: 50b3e0b6bbd81489ee62c2b6d758eb5860883b5ecf5a772183cd5dc4ef008f2ec0cff009e982c84ee414178e8f28c65731a578505a5cf6b7d78dc0277959a98d
|
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
|
+
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)
|
data/lib/chef/version.rb
CHANGED
@@ -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("
|
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.
|
4
|
+
version: 13.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05
|
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.
|
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.
|
26
|
+
version: 13.9.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mixlib-cli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|