Skip to content

Commit 143afc0

Browse files
committed
mark ipa::server class as api private
1 parent a312133 commit 143afc0

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

REFERENCE.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
* [`ipa`](#ipa): Manages IPA masters, replicas and clients.
1212
* [`ipa::client`](#ipa--client): Manage ipa client
13-
* [`ipa::server`](#ipa--server): Manage IPA server install
1413
* [`ipa::server::master`](#ipa--server--master): Manage primary server
1514
* [`ipa::server::replica`](#ipa--server--replica): Manage replica install
1615

1716
#### Private Classes
1817

1918
* `ipa::client::debian`: Ensure that home directories get created on Debian and Ubuntu clients.
19+
* `ipa::server`: Manage IPA server install
2020
* `ipa::server::flushcache`: Manage cache flushing
2121
* `ipa::server::redhat`
2222

@@ -317,24 +317,6 @@ Force the client to join the domain even if it is already joined.
317317

318318
Default value: `false`
319319

320-
### <a name="ipa--server"></a>`ipa::server`
321-
322-
Manage IPA server install
323-
324-
#### Parameters
325-
326-
The following parameters are available in the `ipa::server` class:
327-
328-
* [`package_name`](#-ipa--server--package_name)
329-
330-
##### <a name="-ipa--server--package_name"></a>`package_name`
331-
332-
Data type: `Array[String]`
333-
334-
The name of the package(s) to install.
335-
336-
Default value: `undef`
337-
338320
### <a name="ipa--server--master"></a>`ipa::server::master`
339321

340322
Manage primary server

manifests/server.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
# @param package_name
55
# The name of the package(s) to install.
66
#
7+
# @api private
78
class ipa::server (
89
Array[String] $package_name = undef,
910
) {
11+
assert_private()
12+
1013
if $ipa::ipa_role != 'master' { # if replica or client
1114
unless $ipa::ipa_master_fqdn {
1215
fail("When creating a ${ipa::ipa_role} the parameter named ipa_master_fqdn cannot be empty.")

0 commit comments

Comments
 (0)