Skip to content

Commit

Permalink
Add prototype for seeding builtin workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Mar 29, 2024
1 parent aab48aa commit c6f353a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def self.display_name(number = 1)
end

def self.seed
return unless Settings.prototype.ems_workflows.seed_builtin_workflows

manager = ManageIQ::Providers::Workflows::AutomationManager.in_my_region.first
return if manager.nil?

Expand Down
1 change: 1 addition & 0 deletions config/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@
:ems_refresh_worker_workflows: {}
:prototype:
:ems_workflows:
:seed_builtin_workflows: false
:enabled: true

0 comments on commit c6f353a

Please sign in to comment.