Class: ConfigOMat::Op::CommitStagedProfile

Inherits:
LifecycleVM::OpBase
  • Object
show all
Defined in:
lib/config_o_mat/configurator/op/commit_staged_profile.rb

Instance Method Summary collapse

Instance Method Details

#callObject



25
26
27
28
29
30
31
32
# File 'lib/config_o_mat/configurator/op/commit_staged_profile.rb', line 25

def call
  # This happens in the first boot case, where we apply all profiles at once and so there's no
  # individual applying_profile.
  return if applying_profile.nil?

  applied_profiles[applying_profile.name] = applying_profile
  self.applying_profile = nil
end