kafo 7.4.0 → 7.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kafo/kafo_configure.rb +10 -3
- data/lib/kafo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91ef4a820b10df46e9932cd8bea2648b3794943898c89072ecd27aaef1dda6e0
|
4
|
+
data.tar.gz: cd59dcdc373d221140fefa6bccbc6e163d52f103ec60f11c1b87fdb98b7ee26d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e6687473d85f8fbbf4581f91863440ccdcde7ea6232ef82d54707adf83adaab130386d3c2fbde2729b9c1578fdeb32cbeb61a76a0a9f2ffaa1ff415b2e9d450
|
7
|
+
data.tar.gz: c6964bcaa58287b6490705e5905633e0d0dd7a26c83ef88e2fb45f8dfd02cc4d97b0b5d50590671246c4ee07822a522ac053473c87ac575b5c611aaf365ee371
|
data/lib/kafo/kafo_configure.rb
CHANGED
@@ -193,13 +193,18 @@ module Kafo
|
|
193
193
|
@progress_bar = config.app[:colors] ? ProgressBars::Colored.new : ProgressBars::BlackWhite.new
|
194
194
|
end
|
195
195
|
|
196
|
-
|
197
|
-
|
198
|
-
|
196
|
+
if checks_only? || !skip_checks_i_know_better?
|
197
|
+
logger = Logger.new('checks')
|
198
|
+
if SystemChecker.check
|
199
|
+
logger.notice("System checks passed")
|
200
|
+
else
|
201
|
+
logger.error("Your system does not meet configuration criteria")
|
199
202
|
self.class.exit(:invalid_system)
|
200
203
|
end
|
201
204
|
end
|
202
205
|
|
206
|
+
self.class.exit(0) if checks_only?
|
207
|
+
|
203
208
|
self.class.hooking.execute(:pre_validations)
|
204
209
|
if interactive?
|
205
210
|
wizard = Wizard.new(self)
|
@@ -363,6 +368,8 @@ module Kafo
|
|
363
368
|
:default => false, :advanced => true
|
364
369
|
app_option ['-s', '--skip-checks-i-know-better'], :flag, 'Skip all system checks',
|
365
370
|
:default => false
|
371
|
+
app_option ['--checks-only'], :flag, 'Run only system checks and exit',
|
372
|
+
:default => false
|
366
373
|
app_option ['--skip-puppet-version-check'], :flag, 'Skip check for compatible Puppet versions',
|
367
374
|
:default => false, :advanced => true
|
368
375
|
app_option ['-v', '--[no-]verbose'], :flag, 'Display log on STDOUT instead of progressbar',
|
data/lib/kafo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kafo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marek Hulan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|