knife-solo 0.7.0.pre3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +13 -0
- data/lib/chef/knife/solo_cook.rb +6 -3
- data/lib/knife-solo/info.rb +1 -1
- data/lib/knife-solo/librarian.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2588d5e371235a0936899a68a3cdff7300694a6e24de5b6f34331fcc4c184dcc
|
4
|
+
data.tar.gz: d7cd0a301f80e9779cae12ef16835a5a936136fdc3f3d7ade1c517cc9255813c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4edda9643ac5466026dbba9aa8bbfffb15f4bf405b405baa10dc317d34b4e1ed97ce79226de6ff73d6d7cf157e21ead63e18d5589e93e7a4a50e4547381c7ae0
|
7
|
+
data.tar.gz: 5035a89eb88ae1237827025ffee53295391b308f441a28bb8e6f64f09c4a343e6a954f3d2f4bc6c30e264a1ff7602f940a381216e2d78f1064a709a48f8b80ec
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
# 0.7.0 / 2018-11-14
|
2
|
+
|
3
|
+
## Updates
|
4
|
+
|
5
|
+
* OpenSUSE Leap support (#492)
|
6
|
+
* Legacy mode option (#504)
|
7
|
+
* Allow net-ssh 4.x (#506)
|
8
|
+
* Use sudo when running clean (#519)
|
9
|
+
* Configurable log level (#522)
|
10
|
+
* Debian 9 support (#524)
|
11
|
+
* Removed testing for EOL chefs and rubies, ad support for new rubies (#516, #528)
|
12
|
+
* Make chef version check configurable (#535)
|
13
|
+
|
1
14
|
# 0.6.0 / 2016-05-23
|
2
15
|
|
3
16
|
## Changes and new features
|
data/lib/chef/knife/solo_cook.rb
CHANGED
@@ -9,7 +9,6 @@ class Chef
|
|
9
9
|
# Approach ported from spatula (https://github.com/trotter/spatula)
|
10
10
|
# Copyright 2009, Trotter Cashion
|
11
11
|
class SoloCook < Knife
|
12
|
-
CHEF_VERSION_CONSTRAINT = ">=0.10.4" unless defined? CHEF_VERSION_CONSTRAINT
|
13
12
|
|
14
13
|
include KnifeSolo::SshCommand
|
15
14
|
include KnifeSolo::NodeConfigCommand
|
@@ -148,6 +147,10 @@ class Chef
|
|
148
147
|
Chef::Config[:solo_legacy_mode] || false
|
149
148
|
end
|
150
149
|
|
150
|
+
def chef_version_constraint
|
151
|
+
Chef::Config[:solo_chef_version] || ">=0.10.4"
|
152
|
+
end
|
153
|
+
|
151
154
|
def log_level
|
152
155
|
config_value(:log_level, Chef::Config[:log_level] || :warn).to_sym
|
153
156
|
end
|
@@ -302,8 +305,8 @@ class Chef
|
|
302
305
|
|
303
306
|
def check_chef_version
|
304
307
|
ui.msg "Checking Chef version..."
|
305
|
-
unless chef_version_satisfies?
|
306
|
-
raise "Couldn't find Chef #{
|
308
|
+
unless chef_version_satisfies?(chef_version_constraint)
|
309
|
+
raise "Couldn't find Chef #{chef_version_constraint} on #{host}. Please run `knife solo prepare #{ssh_args}` to ensure Chef is installed and up to date."
|
307
310
|
end
|
308
311
|
if node_environment != '_default' && chef_version_satisfies?('<11.6.0')
|
309
312
|
ui.warn "Chef version #{chef_version} does not support environments. Environment '#{node_environment}' will be ignored."
|
data/lib/knife-solo/info.rb
CHANGED
data/lib/knife-solo/librarian.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-solo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.0
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mat Schaffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: berkshelf
|
@@ -350,12 +350,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
350
350
|
version: '0'
|
351
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
352
352
|
requirements:
|
353
|
-
- - "
|
353
|
+
- - ">="
|
354
354
|
- !ruby/object:Gem::Version
|
355
|
-
version:
|
355
|
+
version: '0'
|
356
356
|
requirements: []
|
357
357
|
rubyforge_project:
|
358
|
-
rubygems_version: 2.6
|
358
|
+
rubygems_version: 2.7.6
|
359
359
|
signing_key:
|
360
360
|
specification_version: 4
|
361
361
|
summary: A collection of knife plugins for dealing with chef solo
|