Move group_limit & group_wait under boot

Also make formatting the group strategy the responsibility of the
commander.
This commit is contained in:
Kevin McConnell
2023-04-14 11:01:25 +01:00
parent 100b72e4b4
commit a8726be20e
6 changed files with 29 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
class Mrsk::Configuration::Boot
attr_reader :group_wait, :group_limit
def initialize(section:)
section = section || {}
@group_limit = section["group_limit"]
@group_wait = section["group_wait"]
end
end