dream-ops 0.4.0 → 0.4.2
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 +4 -4
- data/CHANGELOG.md +13 -1
- data/lib/dream-ops/deployment/solo.rb +2 -2
- data/lib/dream-ops/init/solo.rb +2 -2
- data/lib/dream-ops/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb4068de1a62691d5c555f664130788d4199438d
|
|
4
|
+
data.tar.gz: a0969692cf6fda232ea3300ba4d26e7df0612859
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0afdd0a0633c9454380ca5169bc7de7dd24f1e4db11e778682cc7b9a30d9faa570591089b2cd608d349d19c69edeb71106252e96ad8eecab89a84934d36abe6d
|
|
7
|
+
data.tar.gz: a0193478dea42ea74f704aa54b12a78beb29677993c57a957164bbfb4cb4ef7ecaecb26651cfe8a01216c19fb249fb0cd35bb51983425a442de7f00c3b21964b
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
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
|
|
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 #{@
|
|
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
|
|
data/lib/dream-ops/init/solo.rb
CHANGED
|
@@ -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
|
|
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 #{@
|
|
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}")
|
data/lib/dream-ops/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2018-11-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|