knife-solo 0.7.0.pre3 → 0.7.0

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
- SHA1:
3
- metadata.gz: db388a0dfc90e44b4fc5c5788c1cadaafa6aca74
4
- data.tar.gz: 6ea3b0ebcb930c60e459f66e00dbc8872ca0162a
2
+ SHA256:
3
+ metadata.gz: 2588d5e371235a0936899a68a3cdff7300694a6e24de5b6f34331fcc4c184dcc
4
+ data.tar.gz: d7cd0a301f80e9779cae12ef16835a5a936136fdc3f3d7ade1c517cc9255813c
5
5
  SHA512:
6
- metadata.gz: 1b7effacdf6c722cd879268334e8a42fb6e9a0026caaca2ea155b879590c9cfd33e7d17eb8c573d09912eb0c8a1a9b2c500c3ac7a79de672654e635d990bf4aa
7
- data.tar.gz: e8500a551c30e4772d29a669ac191b4cdcc6fe0fb128e5b7b595ac29a8869fd112449f3ad99dc9463f7a5af31a54c7b8c786d869b55fe96790d1db0df31270a3
6
+ metadata.gz: 4edda9643ac5466026dbba9aa8bbfffb15f4bf405b405baa10dc317d34b4e1ed97ce79226de6ff73d6d7cf157e21ead63e18d5589e93e7a4a50e4547381c7ae0
7
+ data.tar.gz: 5035a89eb88ae1237827025ffee53295391b308f441a28bb8e6f64f09c4a343e6a954f3d2f4bc6c30e264a1ff7602f940a381216e2d78f1064a709a48f8b80ec
@@ -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
@@ -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? CHEF_VERSION_CONSTRAINT
306
- 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."
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."
@@ -1,6 +1,6 @@
1
1
  module KnifeSolo
2
2
  def self.version
3
- '0.7.0.pre3'
3
+ '0.7.0'
4
4
  end
5
5
 
6
6
  def self.post_install_message
@@ -28,7 +28,7 @@ module KnifeSolo
28
28
  end
29
29
 
30
30
  def initial_config
31
- "site 'http://supermarket.getchef.com/api/v1'"
31
+ "site 'https://supermarket.chef.io/api/v1'"
32
32
  end
33
33
 
34
34
  # Returns an array of strings to gitignore when bootstrapping
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.pre3
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-01-03 00:00:00.000000000 Z
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: 1.3.1
355
+ version: '0'
356
356
  requirements: []
357
357
  rubyforge_project:
358
- rubygems_version: 2.6.8
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