Skip to content

Commit 7ebf930

Browse files
Address asciidoctor-dita-vale issues for host collections (#4398)
* Split multiple modules into web UI and CLI * Minor asciidoctor-dita-vale fixes * Merge overview of collections with assembly intro This is so that we don't have to write an introduction for the host collections overview and to make the assembly one module shorter. * Add abstract role and create basic abstracts * Turn prereqs into bullet points --------- Co-authored-by: Maximilian Kolb <[email protected]>
1 parent 4ea4f19 commit 7ebf930

26 files changed

+122
-85
lines changed

guides/common/assembly_configuring-host-collections.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@
22

33
include::modules/con_configuring-host-collections.adoc[]
44

5-
include::modules/con_host-collections-overview.adoc[leveloffset=+1]
5+
include::modules/proc_creating-a-host-collection-by-using-web-ui.adoc[leveloffset=+1]
66

7-
include::modules/proc_creating-a-host-collection.adoc[leveloffset=+1]
7+
include::modules/proc_creating-a-host-collection-by-using-cli.adoc[leveloffset=+1]
88

99
include::modules/proc_cloning-a-host-collection.adoc[leveloffset=+1]
1010

1111
include::modules/proc_removing-a-host-collection.adoc[leveloffset=+1]
1212

13-
include::modules/proc_adding-a-host-to-a-host-collection.adoc[leveloffset=+1]
13+
include::modules/proc_adding-a-host-to-a-host-collection-by-using-web-ui.adoc[leveloffset=+1]
1414

15-
include::modules/proc_adding-hosts-to-a-host-collection-in-bulk.adoc[leveloffset=+1]
15+
include::modules/proc_adding-a-host-to-a-host-collection-by-using-cli.adoc[leveloffset=+1]
16+
17+
include::modules/proc_adding-hosts-to-a-host-collection-in-bulk-by-using-web-ui.adoc[leveloffset=+1]
18+
19+
include::modules/proc_adding-hosts-to-a-host-collection-in-bulk-by-using-cli.adoc[leveloffset=+1]
1620

1721
include::modules/proc_removing-a-host-from-a-host-collection.adoc[leveloffset=+1]
1822

guides/common/modules/con_adding-content-to-a-host-collection.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
[id="Adding_Content_to_a_Host_Collection_{context}"]
44
= Adding content to a host collection
55

6+
[role="_abstract"]
67
These steps show how to add content to host collections in {ProjectName}.

guides/common/modules/con_configuring-host-collections.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
[id="Configuring_Host_Collections_{context}"]
44
= Configuring host collections
55

6-
With {Project}, you can use host collections to create groups of content hosts.
6+
[role="_abstract"]
7+
A host collection in {Project} is a group of hosts.
8+
With host collections, you can perform the same action on multiple hosts at once.
9+
These actions include installing, removing, and updating packages, applying errata, and assigning content view environments.
10+
For example, you can use host collections to group hosts by function, department, or business unit.

guides/common/modules/con_host-collections-overview.adoc

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="adding-a-host-to-a-host-collection-by-using-cli"]
4+
= Adding a host to a host collection by using Hammer CLI
5+
6+
[role="_abstract"]
7+
You can add a host to a host collection by using Hammer CLI.
8+
9+
Note that if you add a host to a host collection, the {Project} auditing system does not log the change.
10+
11+
.Prerequisites
12+
* A host must be registered to {ProjectName} to add it to a Host Collection.
13+
For more information about registering hosts, see xref:Registering_Hosts_by_Using_Global_Registration_{context}[].
14+
15+
.Procedure
16+
* Add a host to your host collection:
17+
+
18+
[options="nowrap", subs="+quotes,attributes"]
19+
----
20+
$ hammer host-collection add-host \
21+
--host-ids _My_Host_ID_ \
22+
--id _My_Host_Collection_ID_
23+
----
Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,20 @@
11
:_mod-docs-content-type: PROCEDURE
22

3-
[id="adding-a-host-to-a-host-collection_{context}"]
4-
= Adding a host to a host collection
3+
[id="adding-a-host-to-a-host-collection-by-using-web-ui"]
4+
= Adding a host to a host collection by using {ProjectWebUI}
55

6+
[role="_abstract"]
67
You can add a host to a host collection in the {ProjectWebUI}.
78

9+
Note that if you add a host to a host collection, the {Project} auditing system does not log the change.
10+
811
.Prerequisites
9-
ifdef::satellite[]
10-
A host must be registered to {ProjectName} to add it to a Host Collection.
12+
* A host must be registered to {ProjectName} to add it to a Host Collection.
1113
For more information about registering hosts, see xref:Registering_Hosts_by_Using_Global_Registration_{context}[].
12-
endif::[]
13-
14-
ifndef::satellite[]
15-
A host must be registered to {ProjectName} to add it to a Host Collection.
16-
endif::[]
17-
18-
Note that if you add a host to a host collection, the {Project} auditing system does not log the change.
1914

2015
.Procedure
2116
. In the {ProjectWebUI}, navigate to *Hosts* > *All Hosts*.
2217
. Click the name of the host you want to modify.
2318
. In the *Host collections* card, click the vertical ellipsis and select *Add host to collections*.
2419
. Select the host collection.
2520
. Click *Add*.
26-
27-
.CLI procedure
28-
* Add a host to your host collection:
29-
+
30-
[options="nowrap", subs="+quotes,attributes"]
31-
----
32-
$ hammer host-collection add-host \
33-
--host-ids _My_Host_ID_ \
34-
--id _My_Host_Collection_ID_
35-
----

guides/common/modules/proc_adding-errata-to-a-host-collection.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[id="Adding_Errata_to_a_Host_Collection_{context}"]
44
= Adding errata to a host collection
55

6+
[role="_abstract"]
67
The following procedure shows how to add errata to host collections.
78

89
.Prerequisites

guides/common/modules/proc_adding-errata-to-a-host.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[id="Adding_errata_to_a_single_host_{context}"]
44
= Adding errata to a single host
55

6+
[role="_abstract"]
67
Use the following procedure to add errata to a host.
78

89
.Procedure
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="adding-hosts-to-a-host-collection-in-bulk-by-using-cli"]
4+
= Adding hosts to a host collection in bulk by using Hammer CLI
5+
6+
[role="_abstract"]
7+
You can add multiple hosts to a host collection by using Hammer CLI.
8+
9+
Note that if you add a host to a host collection, the {Project} auditing system does not log the change.
10+
11+
.Prerequisites
12+
* A host must be registered to {ProjectName} to add it to a host collection.
13+
For more information about registering hosts, see xref:Registering_Hosts_by_Using_Global_Registration_{context}[].
14+
15+
.Procedure
16+
* Add multiple hosts to a host collection:
17+
+
18+
[options="nowrap", subs="+quotes,attributes"]
19+
----
20+
$ hammer host-collection add-host \
21+
--host-ids _My_Host_ID_1_,_My_Host_ID_2_ \
22+
--id _My_Host_Collection_ID_
23+
----
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="adding-hosts-to-a-host-collection-in-bulk-by-using-web-ui"]
4+
= Adding hosts to a host collection in bulk by using {ProjectWebUI}
5+
6+
[role="_abstract"]
7+
You can add multiple hosts to a host collection from {ProjectWebUI}.
8+
9+
Note that if you add a host to a host collection, the {Project} auditing system does not log the change.
10+
11+
.Prerequisites
12+
* A host must be registered to {ProjectName} to add it to a host collection.
13+
For more information about registering hosts, see xref:Registering_Hosts_by_Using_Global_Registration_{context}[].
14+
15+
.Procedure
16+
. In the {ProjectWebUI}, navigate to *Hosts* > *Host Collections*.
17+
. Select the host collection where the host should be added.
18+
. On the *Hosts* tab, select the *Add* subtab.
19+
. Select the hosts to be added from the table and click *Add Selected*.

0 commit comments

Comments
 (0)