dream-ops 0.4.0 → 0.4.2

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
2
  SHA1:
3
- metadata.gz: a640e2b3d14a77a968e916ceff5699a51a75aa49
4
- data.tar.gz: 8beff4a4bc985e83caa02d7c537a8595baf6d6e9
3
+ metadata.gz: fb4068de1a62691d5c555f664130788d4199438d
4
+ data.tar.gz: a0969692cf6fda232ea3300ba4d26e7df0612859
5
5
  SHA512:
6
- metadata.gz: 54546e61709396f02aaab3f8f5d5653e44b1a9b2c25ff88057da04be2c3eaefba888c42084f3d3ddf8397f8be7a07265db51a77b654200ec10e8c3a257082019
7
- data.tar.gz: c79c27aa79c56bf1ac0c5811d74283d9c3df208f9ab5bd5cab2e378a403850f57da4b93945adecb41ba9e34836d04240697f1fb6b0685170eab25c0ecbbc7837
6
+ metadata.gz: 0afdd0a0633c9454380ca5169bc7de7dd24f1e4db11e778682cc7b9a30d9faa570591089b2cd608d349d19c69edeb71106252e96ad8eecab89a84934d36abe6d
7
+ data.tar.gz: a0193478dea42ea74f704aa54b12a78beb29677993c57a957164bbfb4cb4ef7ecaecb26651cfe8a01216c19fb249fb0cd35bb51983425a442de7f00c3b21964b
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.4.2]
10
+
11
+ ### Changed
12
+ - SSH options now set `LogLevel=ERROR`
13
+
14
+ ## [0.4.1]
15
+
16
+ ### Changed
17
+ - Silences stderr for _all_ ssh commands
18
+
9
19
  ## [0.4.0]
10
20
 
11
21
  ### Changed
@@ -39,7 +49,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
39
49
  - Gem version badge to README
40
50
  - Usage documentation
41
51
 
42
- [Unreleased]: https://github.com/chris-allen/dream-ops/compare/v0.4.0...HEAD
52
+ [Unreleased]: https://github.com/chris-allen/dream-ops/compare/v0.4.2...HEAD
53
+ [0.4.2]: https://github.com/chris-allen/dream-ops/compare/v0.4.1...v0.4.2
54
+ [0.4.1]: https://github.com/chris-allen/dream-ops/compare/v0.4.0...v0.4.1
43
55
  [0.4.0]: https://github.com/chris-allen/dream-ops/compare/v0.3.0...v0.4.0
44
56
  [0.3.0]: https://github.com/chris-allen/dream-ops/compare/v0.2.0...v0.3.0
45
57
  [0.2.0]: https://github.com/chris-allen/dream-ops/compare/v0.1.0...v0.2.0
@@ -37,7 +37,7 @@ module DreamOps
37
37
  # ]
38
38
  # }
39
39
  def analyze(targets)
40
- @ssh_opts = "-i #{DreamOps.ssh_key} -o 'StrictHostKeyChecking no'"
40
+ @ssh_opts = "-i #{DreamOps.ssh_key} -o LogLevel=ERROR -o StrictHostKeyChecking=no"
41
41
  @q_all = "> /dev/null 2>&1"
42
42
  @q_stdout = "> /dev/null"
43
43
 
@@ -165,7 +165,7 @@ module DreamOps
165
165
 
166
166
 
167
167
  # Bail if ChefDK is not installed
168
- if !system("ssh #{@ssh_opts} #{target[:host]} which chef #{@q_stdout}")
168
+ if !system("ssh #{@ssh_opts} #{target[:host]} which chef #{@q_all}")
169
169
  __bail_with_fatal_error(ChefDKNotInstalledError.new(target[:host]))
170
170
  end
171
171
 
@@ -1,7 +1,7 @@
1
1
  module DreamOps
2
2
  class SoloInitializer < BaseInitializer
3
3
  def analyze(targets)
4
- @ssh_opts = "-i #{DreamOps.ssh_key} -o 'StrictHostKeyChecking no'"
4
+ @ssh_opts = "-i #{DreamOps.ssh_key} -o LogLevel=ERROR -o StrictHostKeyChecking=no"
5
5
  @q_all = "> /dev/null 2>&1"
6
6
  @q_stdout = "> /dev/null"
7
7
 
@@ -21,7 +21,7 @@ module DreamOps
21
21
 
22
22
  target_result = { host: target }
23
23
 
24
- target_result[:chefdk_installed] = system("ssh #{@ssh_opts} #{target} which chef #{@q_stdout}")
24
+ target_result[:chefdk_installed] = system("ssh #{@ssh_opts} #{target} which chef #{@q_all}")
25
25
  DreamOps.ui.info "--- ChefDK Installed: #{target_result[:chefdk_installed]}"
26
26
 
27
27
  target_result[:solo_json_exists] = system("ssh #{@ssh_opts} #{target} stat /var/chef/chef.json #{@q_all}")
@@ -1,3 +1,3 @@
1
1
  module DreamOps
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dream-ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Allen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2018-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler