kafo 7.1.0 → 7.2.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
2
  SHA256:
3
- metadata.gz: 44e0dd9be8a98bd4f048dd0baf43c021fd831e0cf434ce2db3effe2cc2061ad1
4
- data.tar.gz: 9a7be6fdac62d347577b61e3796d5f3ac3973442072736afbca8cfc29698c216
3
+ metadata.gz: b2f9f3f9827dd2b9f738acab79a596169fd4c4ea075ec5a99c35a40f291dfcee
4
+ data.tar.gz: 1695c0717da6eb8809a14114bd09746efcb1dd82773cf585dbb987ea97c13f8e
5
5
  SHA512:
6
- metadata.gz: f190ab0f2f7f61abb81ff395d0845d0702396f1357e05398ff4490fc16eef30bffeb3f9235231cc898254cfcb0913da84a1a47b648f3a96de4f1b53657c54be6
7
- data.tar.gz: 5bf2c4dcb5deed312ba8bbf09236c438cbd6eb6233150cd9bf69054e455ad718f2cd01106c319748aff2cb3468a256c3217d69293123ffa7a37bce3358a4fa6a
6
+ metadata.gz: 0d26ee6f46875bcaa7f77c2e83dfc7b77aaee073f0977e9dedb1afc977fd118bc55fb430f450dacab0b8d016bf0805462a4a8c4bfe5cbd82e4d515abcc6c915a
7
+ data.tar.gz: c5b129d7e90fb1895afc03781b723e2cd9fa792eb2f3ac1d754a8c744f120a555be977067af66f4c1868ab5fc195093bd1623195b117f73be57106888504ff43
@@ -125,7 +125,7 @@ module Kafo
125
125
  end
126
126
 
127
127
  def print_out
128
- puts "| #{('Parameter name').ljust(40)} | #{'Description'.ljust(@max)} |"
128
+ puts "| #{'Parameter name'.ljust(40)} | #{'Description'.ljust(@max)} |"
129
129
  puts "| #{'-'*40} | #{'-' * @max} |"
130
130
  @config.modules.sort.each do |mod|
131
131
  mod.params.sort.each do |param|
@@ -383,7 +383,7 @@ EOS
383
383
  # Loads YAML from mixed output, finding the "---" and "..." document start/end delimiters
384
384
  def load_yaml_from_output(lines)
385
385
  start = lines.find_index { |l| l.start_with?('---') }
386
- last = lines[start..-1].find_index("...")
386
+ last = lines[start..].find_index("...")
387
387
  if start.nil? || last.nil?
388
388
  puts "Could not find default values in output"
389
389
  @logger.error 'Could not find default values in Puppet output, cannot continue'
@@ -61,7 +61,7 @@ module Kafo
61
61
  bracket_count = 1
62
62
  until bracket_count.zero?
63
63
  next_bracket = scanner.scan_until(/[\[\]]/) or raise ConfigurationException, "missing close bracket in argument #{args.count + 1} in data type #{input}"
64
- case next_bracket[-1..-1]
64
+ case next_bracket[-1..]
65
65
  when '['
66
66
  bracket_count += 1
67
67
  when ']'
@@ -102,7 +102,7 @@ module Kafo
102
102
  end
103
103
 
104
104
  def typecast(value)
105
- value == 'UNDEF' ? nil : value
105
+ (value == 'UNDEF') ? nil : value
106
106
  end
107
107
 
108
108
  def valid?(value, errors = [])
@@ -19,7 +19,7 @@ module Kafo
19
19
  end
20
20
 
21
21
  def typecast(value)
22
- value.to_s =~ /\d+/ ? value.to_f : value
22
+ value.to_s.match?(/\d+/) ? value.to_f : value
23
23
  end
24
24
 
25
25
  def valid?(input, errors = [])
@@ -8,13 +8,11 @@ module Kafo
8
8
  attr_reader :inner_type, :inner_value
9
9
 
10
10
  def initialize(inner_type_or_value)
11
- begin
12
- @inner_type = DataType.new_from_string(inner_type_or_value)
13
- @inner_value = nil
14
- rescue ConfigurationException
15
- @inner_type = nil
16
- @inner_value = inner_type_or_value
17
- end
11
+ @inner_type = DataType.new_from_string(inner_type_or_value)
12
+ @inner_value = nil
13
+ rescue ConfigurationException
14
+ @inner_type = nil
15
+ @inner_value = inner_type_or_value
18
16
  end
19
17
 
20
18
  def to_s
@@ -8,13 +8,11 @@ module Kafo
8
8
  attr_reader :inner_type, :inner_value
9
9
 
10
10
  def initialize(inner_type_or_value)
11
- begin
12
- @inner_type = DataType.new_from_string(inner_type_or_value)
13
- @inner_value = nil
14
- rescue ConfigurationException
15
- @inner_type = nil
16
- @inner_value = inner_type_or_value
17
- end
11
+ @inner_type = DataType.new_from_string(inner_type_or_value)
12
+ @inner_value = nil
13
+ rescue ConfigurationException
14
+ @inner_type = nil
15
+ @inner_value = inner_type_or_value
18
16
  end
19
17
 
20
18
  def to_s
@@ -84,10 +84,8 @@ module Kafo
84
84
  end
85
85
 
86
86
  def parametrization
87
- @parametrization ||= begin
88
- @params.inject({}) do |h,p|
89
- h.update(parametrize(p) => p, parametrize(p, 'reset-') => p)
90
- end
87
+ @parametrization ||= @params.inject({}) do |h,p|
88
+ h.update(parametrize(p) => p, parametrize(p, 'reset-') => p)
91
89
  end
92
90
  end
93
91
  end
@@ -22,7 +22,7 @@ module Kafo
22
22
  classes = []
23
23
  data = modules.select(&:enabled?).inject({}) do |config, mod|
24
24
  classes << mod.class_name
25
- config.update(Hash[mod.params_hash.map { |k, v| ["#{mod.class_name}::#{k}", v] }])
25
+ config.update(mod.params_hash.transform_keys { |k| "#{mod.class_name}::#{k}" })
26
26
  end
27
27
  data['classes'] = sort_modules(classes, order)
28
28
  data
@@ -20,8 +20,8 @@ require 'kafo/string_helper'
20
20
  require 'kafo/help_builder'
21
21
  require 'kafo/wizard'
22
22
  require 'kafo/system_checker'
23
- require 'kafo/failed_puppet_resource'
24
23
  require 'kafo/puppet_command'
24
+ require 'kafo/puppet_failed_resource'
25
25
  require 'kafo/puppet_log_parser'
26
26
  require 'kafo/puppet_report'
27
27
  require 'kafo/progress_bar'
@@ -514,29 +514,27 @@ module Kafo
514
514
  logger.notice("Starting system configuration.")
515
515
 
516
516
  PTY.spawn(*PuppetCommand.format_command(command)) do |stdin, stdout, pid|
517
- begin
518
- stdin.each do |line|
519
- line = normalize_encoding(line)
520
- method, message = log_parser.parse(line)
521
- progress_log(method, message, logger)
522
-
523
- if (output = line.match(/(.+\]): Starting to evaluate the resource( \((?<count>\d+) of (?<total>\d+)\))?/))
524
- if (output[:count].to_i % 250) == 1 && output[:count].to_i != 1
525
- logger.notice("#{output[:count].to_i - 1} configuration steps out of #{output[:total]} steps complete.")
526
- end
517
+ stdin.each do |line|
518
+ line = normalize_encoding(line)
519
+ method, message = log_parser.parse(line)
520
+ progress_log(method, message, logger)
521
+
522
+ if (output = line.match(/(?:.+\]): Starting to evaluate the resource( \((?<count>\d+) of (?<total>\d+)\))?/))
523
+ if (output[:count].to_i % 250) == 1 && output[:count].to_i != 1
524
+ logger.notice("#{output[:count].to_i - 1} configuration steps out of #{output[:total]} steps complete.")
527
525
  end
528
-
529
- @progress_bar.update(line) if @progress_bar
530
526
  end
531
- rescue Errno::EIO # we reach end of input
532
- exit_status = PTY.check(pid, true)
533
- if exit_status.nil? # process is still running
534
- begin
535
- Process.wait(pid)
536
- rescue Errno::ECHILD # process could exit meanwhile so we rescue
537
- end
538
- self.class.exit_handler.exit_code = $?.exitstatus
527
+
528
+ @progress_bar.update(line) if @progress_bar
529
+ end
530
+ rescue Errno::EIO # we reach end of input
531
+ exit_status = PTY.check(pid, true)
532
+ if exit_status.nil? # process is still running
533
+ begin
534
+ Process.wait(pid)
535
+ rescue Errno::ECHILD # process could exit meanwhile so we rescue
539
536
  end
537
+ self.class.exit_handler.exit_code = $?.exitstatus
540
538
  end
541
539
  end
542
540
  rescue PTY::ChildExited => e # could be raised by PTY.check
@@ -4,8 +4,8 @@ module Kafo
4
4
  default_name = name
5
5
 
6
6
  types.each do |hook_type|
7
- self.class.send(:define_method, hook_type) do |name=nil, &block|
8
- registry.send(:register, hook_type, name || default_name, &block)
7
+ self.class.send(:define_method, hook_type) do |hook_name = nil, &block|
8
+ registry.send(:register, hook_type, hook_name || default_name, &block)
9
9
  end
10
10
  end
11
11
  end
data/lib/kafo/param.rb CHANGED
@@ -47,7 +47,7 @@ module Kafo
47
47
  # For literal default values, only use 'manifest_default'. For variable or values from a data
48
48
  # lookup, use the value loaded back from the dump in 'default'.
49
49
  def default
50
- @type.typecast(dump_default_needed? || !@default.nil? ? @default : manifest_default)
50
+ @type.typecast((dump_default_needed? || !@default.nil?) ? @default : manifest_default)
51
51
  end
52
52
 
53
53
  def default=(default)
@@ -71,7 +71,7 @@ module Kafo
71
71
  end
72
72
 
73
73
  def manifest_default_params_variable
74
- manifest_default[1..-1] if dump_default_needed?
74
+ manifest_default[1..] if dump_default_needed?
75
75
  end
76
76
 
77
77
  def module_name
@@ -132,7 +132,7 @@ module Kafo
132
132
  end
133
133
 
134
134
  def visible?(context = [])
135
- condition.nil? || condition.empty? ? true : evaluate_condition(context)
135
+ (condition.nil? || condition.empty?) ? true : evaluate_condition(context)
136
136
  end
137
137
 
138
138
  def condition_value
@@ -155,7 +155,7 @@ module Kafo
155
155
  arg
156
156
  end
157
157
  end.map do |arg|
158
- arg == :undef ? nil : arg
158
+ (arg == :undef) ? nil : arg
159
159
  end
160
160
  end
161
161
 
@@ -39,7 +39,7 @@ module Kafo
39
39
 
40
40
  if (line_monitor = MONITOR_RESOURCE.match(line))
41
41
  @resources << line_monitor[1]
42
- @total = (@total == :unknown ? 1 : @total + 1)
42
+ @total = ((@total == :unknown) ? 1 : @total + 1)
43
43
  end
44
44
 
45
45
  if (line_start = EVALTRACE_START.match(line))
@@ -71,7 +71,7 @@ module Kafo
71
71
 
72
72
  def close
73
73
  @bar.show({ :msg => done_message,
74
- :done => @total == :unknown ? @bar.done + 1 : @total,
74
+ :done => (@total == :unknown) ? @bar.done + 1 : @total,
75
75
  :total => @total }, true)
76
76
  @bar.close
77
77
  end
@@ -6,7 +6,7 @@ module Kafo
6
6
 
7
7
  def finite_template
8
8
  'Installing'.ljust(22) + ' ${<msg>} [${<percent>%}]' +
9
- (@term_width >= 83 ? ' [${<bar>}]' : '')
9
+ ((@term_width >= 83) ? ' [${<bar>}]' : '')
10
10
  end
11
11
 
12
12
  def infinite_template
@@ -16,7 +16,7 @@ module Kafo
16
16
  'Installing'.ljust(22) +
17
17
  ANSI::Code.yellow { ' ${<msg>}' } +
18
18
  ANSI::Code.green { ' [${<percent>%}]' } +
19
- (@term_width >= 83 ? ' [${<bar>}]' : '')
19
+ ((@term_width >= 83) ? ' [${<bar>}]' : '')
20
20
  end
21
21
 
22
22
  def infinite_template
@@ -43,7 +43,7 @@ module Kafo
43
43
  File.join([bin_path, bin_name].compact)
44
44
  end
45
45
 
46
- def self.is_aio_puppet?
46
+ def self.aio_puppet?
47
47
  puppet_command = search_puppet_path('puppet')
48
48
  File.realpath(puppet_command).start_with?('/opt/puppetlabs')
49
49
  rescue Errno::ENOENT
@@ -51,7 +51,7 @@ module Kafo
51
51
  end
52
52
 
53
53
  def self.format_command(command)
54
- if is_aio_puppet?
54
+ if aio_puppet?
55
55
  [clean_env_vars, command, :unsetenv_others => true]
56
56
  else
57
57
  [::ENV, command, :unsetenv_others => false]
@@ -49,5 +49,20 @@ module Kafo
49
49
  def log_messages
50
50
  @logs.map { |log| log['message'] }
51
51
  end
52
+
53
+ # A collection of Puppet log messages grouped by source
54
+ #
55
+ # The log messages include detailed information of what failed. Some debug
56
+ # information, such as timing but crucially the command output, both stdout
57
+ # and stderr.
58
+ #
59
+ # A resource can have multiple sources. For example, exec can have both
60
+ # unless and returns. Combining the output of those can be confusing, so
61
+ # this presents them separate.
62
+ #
63
+ # @return [Hash[String, Array[String]]] The Puppet log messages for this resource
64
+ def log_messages_by_source
65
+ @logs.group_by { |log| log['source'] }.transform_values { |logs| logs.map { |log| log['message'] } }
66
+ end
52
67
  end
53
68
  end
@@ -123,7 +123,7 @@ module Kafo
123
123
 
124
124
  # mapping from configuration with stringified keys
125
125
  def mapping
126
- @mapping ||= Hash[@configuration.app[:mapping].map { |k, v| [k.to_s, v] }]
126
+ @mapping ||= @configuration.app[:mapping].transform_keys(&:to_s)
127
127
  end
128
128
 
129
129
  # custom module directory name
@@ -137,7 +137,7 @@ module Kafo
137
137
  end
138
138
 
139
139
  def get_class_name
140
- manifest_name == 'init' ? name : "#{dir_name}::#{manifest_name.gsub('/', '::')}"
140
+ (manifest_name == 'init') ? name : "#{dir_name}::#{manifest_name.gsub('/', '::')}"
141
141
  end
142
142
 
143
143
  def get_params_path
@@ -165,11 +165,11 @@ module Kafo
165
165
  end
166
166
 
167
167
  def default_manifest_name
168
- identifier.include?('::') ? identifier.split('::')[1..-1].join('/') : 'init'
168
+ identifier.include?('::') ? identifier.split('::')[1..].join('/') : 'init'
169
169
  end
170
170
 
171
171
  def default_params_name
172
- identifier.include?('::') ? (identifier.split('::')[1..-1] + ['params']).join('/') : 'params'
172
+ identifier.include?('::') ? (identifier.split('::')[1..] + ['params']).join('/') : 'params'
173
173
  end
174
174
 
175
175
  def get_name
@@ -18,7 +18,7 @@ module Kafo
18
18
  data = case File.extname(path)
19
19
  when '.yaml'
20
20
  require 'yaml'
21
- content = File.read(path).gsub(/\!ruby\/object.*$/, '')
21
+ content = File.read(path).gsub(%r{!ruby/object.*$}, '')
22
22
  YAML.safe_load(content, permitted_classes: [Time, Symbol])
23
23
  when '.json'
24
24
  require 'json'
@@ -35,7 +35,7 @@ module Kafo
35
35
  say ::HighLine.color("Available scenarios", :info)
36
36
  available_scenarios.each do |config_file, content|
37
37
  scenario = File.basename(config_file, '.yaml')
38
- use = (File.expand_path(config_file) == @previous_scenario ? 'INSTALLED' : "use: --scenario #{scenario}")
38
+ use = ((File.expand_path(config_file) == @previous_scenario) ? 'INSTALLED' : "use: --scenario #{scenario}")
39
39
  say ::HighLine.color(" #{content[:name]} ", :title)
40
40
  say "(#{use})"
41
41
  say " " + content[:description] if !content[:description].nil? && !content[:description].empty?
data/lib/kafo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
  module Kafo
3
3
  PARSER_CACHE_VERSION = 1
4
- VERSION = "7.1.0"
4
+ VERSION = "7.2.0"
5
5
  end
data/lib/kafo/wizard.rb CHANGED
@@ -190,7 +190,7 @@ END
190
190
  else
191
191
  HighLine::SystemExtensions.terminal_size
192
192
  end
193
- highline.wrap_at = data.first > 80 ? 80 : data.first if data.first
193
+ highline.wrap_at = (data.first > 80) ? 80 : data.first if data.first
194
194
  highline.page_at = data.last if data.last
195
195
  highline
196
196
  end
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.1.0
4
+ version: 7.2.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: 2023-08-31 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -215,17 +215,8 @@ files:
215
215
  - bin/kafofy
216
216
  - config/config_header.txt
217
217
  - config/kafo.yaml.example
218
- - doc/Kafo.html
219
- - doc/_index.html
220
- - doc/class_list.html
221
- - doc/file.README.html
222
- - doc/file_list.html
223
- - doc/frames.html
224
- - doc/index.html
225
218
  - doc/kafo_run.png
226
219
  - doc/kafo_run.uml
227
- - doc/method_list.html
228
- - doc/top-level-namespace.html
229
220
  - lib/kafo.rb
230
221
  - lib/kafo/app_option/declaration.rb
231
222
  - lib/kafo/app_option/definition.rb
@@ -259,7 +250,6 @@ files:
259
250
  - lib/kafo/execution_environment.rb
260
251
  - lib/kafo/exit_handler.rb
261
252
  - lib/kafo/fact_writer.rb
262
- - lib/kafo/failed_puppet_resource.rb
263
253
  - lib/kafo/help_builder.rb
264
254
  - lib/kafo/help_builders/advanced.rb
265
255
  - lib/kafo/help_builders/base.rb
@@ -283,6 +273,7 @@ files:
283
273
  - lib/kafo/progress_bars/colored.rb
284
274
  - lib/kafo/puppet_command.rb
285
275
  - lib/kafo/puppet_configurer.rb
276
+ - lib/kafo/puppet_failed_resource.rb
286
277
  - lib/kafo/puppet_log_parser.rb
287
278
  - lib/kafo/puppet_module.rb
288
279
  - lib/kafo/puppet_report.rb
data/doc/Kafo.html DELETED
@@ -1,151 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Module: Kafo
8
-
9
- &mdash; Documentation by YARD 0.9.34
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "Kafo";
19
- relpath = '';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="_index.html">Index (K)</a> &raquo;
40
-
41
-
42
- <span class="title">Kafo</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Module: Kafo
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- <dl>
80
- <dt>Defined in:</dt>
81
- <dd>lib/kafo/kafo_configure.rb<span class="defines">,<br />
82
- lib/kafo/param.rb,<br /> lib/kafo/store.rb,<br /> lib/kafo/logger.rb,<br /> lib/kafo/wizard.rb,<br /> lib/kafo/hooking.rb,<br /> lib/kafo/logging.rb,<br /> lib/kafo/version.rb,<br /> lib/kafo/condition.rb,<br /> lib/kafo/data_type.rb,<br /> lib/kafo/exceptions.rb,<br /> lib/kafo/migrations.rb,<br /> lib/kafo/fact_writer.rb,<br /> lib/kafo/param_group.rb,<br /> lib/kafo/base_context.rb,<br /> lib/kafo/color_scheme.rb,<br /> lib/kafo/exit_handler.rb,<br /> lib/kafo/hook_context.rb,<br /> lib/kafo/progress_bar.rb,<br /> lib/kafo/configuration.rb,<br /> lib/kafo/param_builder.rb,<br /> lib/kafo/puppet_module.rb,<br /> lib/kafo/puppet_report.rb,<br /> lib/kafo/string_helper.rb,<br /> lib/kafo/data_types/any.rb,<br /> lib/kafo/kafo_configure.rb,<br /> lib/kafo/puppet_command.rb,<br /> lib/kafo/system_checker.rb,<br /> lib/kafo/data_types/enum.rb,<br /> lib/kafo/data_types/hash.rb,<br /> lib/kafo/scenario_option.rb,<br /> lib/kafo/data_type_parser.rb,<br /> lib/kafo/data_types/array.rb,<br /> lib/kafo/data_types/float.rb,<br /> lib/kafo/data_types/tuple.rb,<br /> lib/kafo/data_types/undef.rb,<br /> lib/kafo/hiera_configurer.rb,<br /> lib/kafo/multi_stage_hook.rb,<br /> lib/kafo/scenario_manager.rb,<br /> lib/kafo/data_types/regexp.rb,<br /> lib/kafo/data_types/scalar.rb,<br /> lib/kafo/data_types/string.rb,<br /> lib/kafo/data_types/struct.rb,<br /> lib/kafo/migration_context.rb,<br /> lib/kafo/puppet_configurer.rb,<br /> lib/kafo/puppet_log_parser.rb,<br /> lib/kafo/data_types/aliases.rb,<br /> lib/kafo/data_types/boolean.rb,<br /> lib/kafo/data_types/integer.rb,<br /> lib/kafo/data_types/numeric.rb,<br /> lib/kafo/data_types/pattern.rb,<br /> lib/kafo/help_builders/base.rb,<br /> lib/kafo/data_types/optional.rb,<br /> lib/kafo/help_builders/basic.rb,<br /> lib/kafo/parser_cache_reader.rb,<br /> lib/kafo/parser_cache_writer.rb,<br /> lib/kafo/data_types/not_undef.rb,<br /> lib/kafo/app_option/definition.rb,<br /> lib/kafo/execution_environment.rb,<br /> lib/kafo/progress_bars/colored.rb,<br /> lib/kafo/app_option/declaration.rb,<br /> lib/kafo/failed_puppet_resource.rb,<br /> lib/kafo/help_builders/advanced.rb,<br /> lib/kafo/data_types/type_reference.rb,<br /> lib/kafo/progress_bars/black_white.rb,<br /> lib/kafo/data_types/wrapped_data_type.rb</span>
83
- </dd>
84
- </dl>
85
-
86
- </div>
87
-
88
- <h2>Overview</h2><div class="docstring">
89
- <div class="discussion">
90
-
91
- <p>First of all we have to store ENV variable, requiring facter can override them</p>
92
-
93
-
94
- </div>
95
- </div>
96
- <div class="tags">
97
-
98
-
99
- </div><h2>Defined Under Namespace</h2>
100
- <p class="children">
101
-
102
-
103
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Kafo/AppOption.html" title="Kafo::AppOption (module)">AppOption</a></span>, <span class='object_link'><a href="Kafo/DataTypes.html" title="Kafo::DataTypes (module)">DataTypes</a></span>, <span class='object_link'><a href="Kafo/ENV.html" title="Kafo::ENV (module)">ENV</a></span>, <span class='object_link'><a href="Kafo/HelpBuilders.html" title="Kafo::HelpBuilders (module)">HelpBuilders</a></span>, <span class='object_link'><a href="Kafo/ProgressBars.html" title="Kafo::ProgressBars (module)">ProgressBars</a></span>, <span class='object_link'><a href="Kafo/StringHelper.html" title="Kafo::StringHelper (module)">StringHelper</a></span>
104
-
105
-
106
-
107
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Kafo/BaseContext.html" title="Kafo::BaseContext (class)">BaseContext</a></span>, <span class='object_link'><a href="Kafo/ColorScheme.html" title="Kafo::ColorScheme (class)">ColorScheme</a></span>, <span class='object_link'><a href="Kafo/Condition.html" title="Kafo::Condition (class)">Condition</a></span>, <span class='object_link'><a href="Kafo/ConditionError.html" title="Kafo::ConditionError (class)">ConditionError</a></span>, <span class='object_link'><a href="Kafo/Configuration.html" title="Kafo::Configuration (class)">Configuration</a></span>, <span class='object_link'><a href="Kafo/ConfigurationException.html" title="Kafo::ConfigurationException (class)">ConfigurationException</a></span>, <span class='object_link'><a href="Kafo/DataType.html" title="Kafo::DataType (class)">DataType</a></span>, <span class='object_link'><a href="Kafo/DataTypeParser.html" title="Kafo::DataTypeParser (class)">DataTypeParser</a></span>, <span class='object_link'><a href="Kafo/ExecutionEnvironment.html" title="Kafo::ExecutionEnvironment (class)">ExecutionEnvironment</a></span>, <span class='object_link'><a href="Kafo/ExitHandler.html" title="Kafo::ExitHandler (class)">ExitHandler</a></span>, <span class='object_link'><a href="Kafo/FactWriter.html" title="Kafo::FactWriter (class)">FactWriter</a></span>, <span class='object_link'><a href="Kafo/HieraConfigurer.html" title="Kafo::HieraConfigurer (class)">HieraConfigurer</a></span>, <span class='object_link'><a href="Kafo/HookContext.html" title="Kafo::HookContext (class)">HookContext</a></span>, <span class='object_link'><a href="Kafo/Hooking.html" title="Kafo::Hooking (class)">Hooking</a></span>, <span class='object_link'><a href="Kafo/KafoConfigure.html" title="Kafo::KafoConfigure (class)">KafoConfigure</a></span>, <span class='object_link'><a href="Kafo/Logger.html" title="Kafo::Logger (class)">Logger</a></span>, <span class='object_link'><a href="Kafo/Logging.html" title="Kafo::Logging (class)">Logging</a></span>, <span class='object_link'><a href="Kafo/MigrationContext.html" title="Kafo::MigrationContext (class)">MigrationContext</a></span>, <span class='object_link'><a href="Kafo/Migrations.html" title="Kafo::Migrations (class)">Migrations</a></span>, <span class='object_link'><a href="Kafo/MultiStageHook.html" title="Kafo::MultiStageHook (class)">MultiStageHook</a></span>, <span class='object_link'><a href="Kafo/Param.html" title="Kafo::Param (class)">Param</a></span>, <span class='object_link'><a href="Kafo/ParamBuilder.html" title="Kafo::ParamBuilder (class)">ParamBuilder</a></span>, <span class='object_link'><a href="Kafo/ParamGroup.html" title="Kafo::ParamGroup (class)">ParamGroup</a></span>, <span class='object_link'><a href="Kafo/ParserCacheReader.html" title="Kafo::ParserCacheReader (class)">ParserCacheReader</a></span>, <span class='object_link'><a href="Kafo/ParserCacheWriter.html" title="Kafo::ParserCacheWriter (class)">ParserCacheWriter</a></span>, <span class='object_link'><a href="Kafo/ParserError.html" title="Kafo::ParserError (class)">ParserError</a></span>, <span class='object_link'><a href="Kafo/ProgressBar.html" title="Kafo::ProgressBar (class)">ProgressBar</a></span>, <span class='object_link'><a href="Kafo/PuppetCommand.html" title="Kafo::PuppetCommand (class)">PuppetCommand</a></span>, <span class='object_link'><a href="Kafo/PuppetConfigurer.html" title="Kafo::PuppetConfigurer (class)">PuppetConfigurer</a></span>, <span class='object_link'><a href="Kafo/PuppetFailedResource.html" title="Kafo::PuppetFailedResource (class)">PuppetFailedResource</a></span>, <span class='object_link'><a href="Kafo/PuppetLogParser.html" title="Kafo::PuppetLogParser (class)">PuppetLogParser</a></span>, <span class='object_link'><a href="Kafo/PuppetModule.html" title="Kafo::PuppetModule (class)">PuppetModule</a></span>, <span class='object_link'><a href="Kafo/PuppetReport.html" title="Kafo::PuppetReport (class)">PuppetReport</a></span>, <span class='object_link'><a href="Kafo/PuppetReportError.html" title="Kafo::PuppetReportError (class)">PuppetReportError</a></span>, <span class='object_link'><a href="Kafo/ScenarioManager.html" title="Kafo::ScenarioManager (class)">ScenarioManager</a></span>, <span class='object_link'><a href="Kafo/ScenarioOption.html" title="Kafo::ScenarioOption (class)">ScenarioOption</a></span>, <span class='object_link'><a href="Kafo/Store.html" title="Kafo::Store (class)">Store</a></span>, <span class='object_link'><a href="Kafo/SystemChecker.html" title="Kafo::SystemChecker (class)">SystemChecker</a></span>, <span class='object_link'><a href="Kafo/Wizard.html" title="Kafo::Wizard (class)">Wizard</a></span>
108
-
109
-
110
- </p>
111
-
112
-
113
- <h2>
114
- Constant Summary
115
- <small><a href="#" class="constants_summary_toggle">collapse</a></small>
116
- </h2>
117
-
118
- <dl class="constants">
119
-
120
- <dt id="PARSER_CACHE_VERSION-constant" class="">PARSER_CACHE_VERSION =
121
-
122
- </dt>
123
- <dd><pre class="code"><span class='int'>1</span></pre></dd>
124
-
125
- <dt id="VERSION-constant" class="">VERSION =
126
-
127
- </dt>
128
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>7.0.0</span><span class='tstring_end'>&quot;</span></span></pre></dd>
129
-
130
- </dl>
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
- </div>
142
-
143
- <div id="footer">
144
- Generated on Fri Jul 14 17:35:54 2023 by
145
- <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
146
- 0.9.34 (ruby-3.2.2).
147
- </div>
148
-
149
- </div>
150
- </body>
151
- </html>