Skip to content

Commit 732817e

Browse files
committed
mark private classes; update REFERENCE.md
1 parent 0dbd42c commit 732817e

File tree

9 files changed

+58
-380
lines changed

9 files changed

+58
-380
lines changed

REFERENCE.md

Lines changed: 30 additions & 373 deletions
Large diffs are not rendered by default.

manifests/client/params.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# @summary mongodb client params
2+
#
13
# @api private
4+
#
25
class mongodb::client::params inherits mongodb::globals {
36
$package_ensure = pick($mongodb::globals::version, 'present')
47
$manage_package = pick($mongodb::globals::manage_package, $mongodb::globals::manage_package_repo, false)

manifests/params.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# PRIVATE CLASS: do not use directly
1+
# @summary mongodb params
2+
#
3+
# @api private
4+
#
25
class mongodb::params inherits mongodb::globals {
36
$ensure = true
47
$dbpath = '/var/lib/mongodb'

manifests/repo.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# PRIVATE CLASS: do not use directly
1+
# @summary Manages the mongodb repository
2+
#
3+
# @api private
24
#
35
# @param ensure
46
# @param version

manifests/repo/apt.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# PRIVATE CLASS: do not use directly
1+
# @summary This is a repo class for apt
2+
#
3+
# @api private
24
class mongodb::repo::apt inherits mongodb::repo {
35
# we try to follow/reproduce the instruction
46
# from http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/

manifests/repo/yum.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# PRIVATE CLASS: do not use directly
1+
# @summary This is a repo class for yum
2+
#
3+
# @api private
24
class mongodb::repo::yum inherits mongodb::repo {
35
# We try to follow/reproduce the instruction
46
# http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/

manifests/server/config.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# PRIVATE CLASS: do not call directly
1+
# @summary Manages mongod config
2+
#
3+
# @api private
4+
#
25
class mongodb::server::config {
36
$ensure = $mongodb::server::ensure
47
$user = $mongodb::server::user

manifests/server/install.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# PRIVATE CLASS: do not call directly
1+
# @summary Manages the mongod package
2+
#
3+
# @api private
4+
#
25
class mongodb::server::install {
36
$package_ensure = $mongodb::server::package_ensure
47
$package_name = $mongodb::server::package_name

manifests/server/service.pp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# PRIVATE CLASS: do not call directly
1+
# @summary Manages the mongos service
2+
#
3+
# @api private
4+
#
25
class mongodb::server::service {
36
$ensure = $mongodb::server::service_ensure
47
$service_manage = $mongodb::server::service_manage

0 commit comments

Comments
 (0)