Skip to content

Commit

Permalink
add config
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Jan 24, 2025
1 parent 9d646c6 commit fa3d0f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/plugin/rh_cloud.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Boolean $enable_iop_advisor_engine = false,
) {
foreman::plugin { 'rh_cloud':
config => epp('foreman/rh_cloud.yaml.epp', { 'enable_iop_advisor_engine' => $enable_iop_advisor_engine }),
}

class { 'iop_advisor_engine':
Expand Down
6 changes: 6 additions & 0 deletions templates/rh_cloud.yaml.epp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<%- |
Boolean $enable_iop_advisor_engine,
| -%>
---
:foreman_rh_cloud:
:use_local_advisor_engine: <%= $enable_iop_advisor_engine %>

0 comments on commit fa3d0f4

Please sign in to comment.