foreman_katello_content_view¶
(Composite) Content Views create an abstract view on a collection of repositories and allow versioning of these views. Additional fine tuning can be done with package filters.
Example Usage¶
# Autogenerated example with required keys
resource "foreman_katello_content_view" "example" {
component_ids = [1, 4]
composite = false
name = "My new CV"
repository_ids = [1, 4, 5]
}
Argument Reference¶
The following arguments are supported:
auto_publish
- (Optional) Relevant for Composite Content Views: 'Automatically publish a new version of the composite content view whenever one of its content views is published. Autopublish will only happen for component views that use the 'Always use latest version' option.'component_ids
- (Optional) Relevant for CCVs: list of CV version IDs.composite
- (Optional) Is this Content View a Composite CV?description
- (Optional) Description for the (composite) content viewfilter
- (Optional) Content view filters and their rules.label
- (Optional, Force New) Label for the (composite) content view. Cannot be changed after creation. By default set to the name, with underscores as spaces replacement.name
- (Required) Name of the (composite) content view.organization_id
- (Optional)repository_ids
- (Optional) List of repository IDs.solve_dependencies
- (Optional) Relevant for Content Views: 'This will solve RPM and module stream dependencies on every publish of this content view. Dependency solving significantly increases publish time (publishes can take over three times as long) and filters will be ignored when adding packages to solve dependencies. Also, certain scenarios involving errata may still cause dependency errors.'
Attributes Reference¶
The following attributes are exported:
auto_publish
- Relevant for Composite Content Views: 'Automatically publish a new version of the composite content view whenever one of its content views is published. Autopublish will only happen for component views that use the 'Always use latest version' option.'component_ids
- Relevant for CCVs: list of CV version IDs.composite
- Is this Content View a Composite CV?description
- Description for the (composite) content viewfilter
- Content view filters and their rules.filtered
-label
- Label for the (composite) content view. Cannot be changed after creation. By default set to the name, with underscores as spaces replacement.latest_version_id
- Holds the ID of the latest published version of a Content View to be used as reference in CCVsname
- Name of the (composite) content view.organization_id
-repository_ids
- List of repository IDs.solve_dependencies
- Relevant for Content Views: 'This will solve RPM and module stream dependencies on every publish of this content view. Dependency solving significantly increases publish time (publishes can take over three times as long) and filters will be ignored when adding packages to solve dependencies. Also, certain scenarios involving errata may still cause dependency errors.'