-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parameter to enable iop-advisor-engine to rh_cloud plugin
Signed-off-by: Eric D. Helms <[email protected]>
- Loading branch information
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# Installs rh_cloud plugin | ||
class foreman::plugin::rh_cloud { | ||
# @summary Installs rh_cloud plugin | ||
# | ||
# @param enable_iop_advisor_engine | ||
# Enable iop-advisor-engine integration | ||
# | ||
class foreman::plugin::rh_cloud ( | ||
Boolean $enable_iop_advisor_engine = false, | ||
) { | ||
foreman::plugin { 'rh_cloud': | ||
} | ||
|
||
class { 'iop_advisor_engine': | ||
ensure => bool2str($enable_iop_advisor_engine, 'present', 'absent'), | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters