Skip to content

Commit 153cd6a

Browse files
author
Daniel Carabas
committed
Puppet Strings
1 parent 791754f commit 153cd6a

37 files changed

+3077
-58
lines changed

REFERENCE.md

Lines changed: 2668 additions & 0 deletions
Large diffs are not rendered by default.

manifests/client.pp

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
# Install client cli tool. See README.md for more details.
1+
# @summary Install client cli tool.
2+
#
3+
# @param file_ensure
4+
# Enum['file','absent'].
5+
#
6+
# @param validcon_script_path
7+
# Optional. Absolute path for the postgresql connection validation script.
8+
#
9+
# @param package_name
10+
# String. Client package name.
11+
#
12+
# @param package_ensure
13+
# String. Defaults to 'present'.
14+
#
15+
#
216
class postgresql::client (
317
Enum['file', 'absent'] $file_ensure = 'file',
418
Stdlib::Absolutepath $validcon_script_path = $postgresql::params::validcon_script_path,

manifests/globals.pp

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
1-
# Class for setting cross-class global overrides. See README.md for more
2-
# details.
1+
# @summary Class for setting cross-class global overrides.
2+
#
3+
# @param client_package_name
4+
# @param server_package_name
5+
# @param contrib_package_name
6+
# @param devel_package_name
7+
# @param java_package_name
8+
# @param docs_package_name
9+
# @param perl_package_name
10+
# @param plperl_package_name
11+
# @param plpython_package_name
12+
# @param python_package_name
13+
# @param postgis_package_name
14+
#
15+
# @param service_name
16+
# @param service_provider
17+
# @param service_status
18+
# @param default_database
19+
#
20+
# @param validcon_script_path
21+
#
22+
# @param initdb_path
23+
# @param createdb_path
24+
# @param psql_path
25+
# @param pg_hba_conf_path
26+
# @param pg_ident_conf_path
27+
# @param postgresql_conf_path
28+
# @param recovery_conf_path
29+
# @param default_connect_settings
30+
#
31+
# @param pg_hba_conf_defaults
32+
#
33+
# @param datadir
34+
# @param confdir
35+
# @param bindir
36+
# @param xlogdir
37+
# @param logdir
38+
# @param log_line_prefix
39+
#
40+
# @param user
41+
# @param group
42+
#
43+
# @param version
44+
# @param postgis_version
45+
# @param repo_proxy
46+
# @param repo_baseurl
47+
#
48+
# @param needs_initdb
49+
#
50+
# @param encoding
51+
# @param locale
52+
# @param data_checksums
53+
# @param timezone
54+
#
55+
# @param manage_pg_hba_conf
56+
# @param manage_pg_ident_conf
57+
# @param manage_recovery_conf
58+
#
59+
# @param manage_package_repo
60+
# @param module_workdir
61+
#
62+
#
363
class postgresql::globals (
464
$client_package_name = undef,
565
$server_package_name = undef,

manifests/lib/devel.pp

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
# This class installs postgresql development libraries. See README.md for more
2-
# details.
1+
# @summary This class installs postgresql development libraries.
2+
#
3+
# @param package_name
4+
# String.
5+
# @param package_ensure
6+
# String. Defaults to 'present'.
7+
# @param link_pg_config
8+
# Boolean.
9+
#
10+
#
311
class postgresql::lib::devel(
412
String $package_name = $postgresql::params::devel_package_name,
513
String[1] $package_ensure = 'present',

manifests/lib/docs.pp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
# This class installs the postgresql-docs See README.md for more
2-
# details.
1+
# @summary This class installs the postgresql-docs
2+
#
3+
# @param package_name
4+
# String.
5+
# @param package_ensure
6+
# String. Defaults to 'present'.
7+
#
8+
#
39
class postgresql::lib::docs (
410
String $package_name = $postgresql::params::docs_package_name,
511
String[1] $package_ensure = 'present',

manifests/lib/java.pp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
# This class installs the postgresql jdbc connector. See README.md for more
2-
# details.
1+
# @summary This class installs the postgresql jdbc connector.
2+
#
3+
# @param package_name
4+
# String.
5+
# @param package_ensure
6+
# String. Defaults to 'present'.
7+
#
38
class postgresql::lib::java (
49
String $package_name = $postgresql::params::java_package_name,
510
String[1] $package_ensure = 'present'

manifests/lib/perl.pp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
# This class installs the perl libs for postgresql. See README.md for more
2-
# details.
1+
# @summary This class installs the perl libs for postgresql.
2+
#
3+
# @param package_name
4+
# String.
5+
# @param package_ensure
6+
# String. Defaults to 'present'.
7+
#
38
class postgresql::lib::perl(
49
String $package_name = $postgresql::params::perl_package_name,
510
String[1] $package_ensure = 'present'

manifests/lib/python.pp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
# This class installs the python libs for postgresql. See README.md for more
2-
# details.
1+
# @summary This class installs the python libs for postgresql.
2+
#
3+
# @param package_name
4+
# String.
5+
# @param package_ensure
6+
# String. Defaults to 'present'.
7+
#
38
class postgresql::lib::python(
49
String[1] $package_name = $postgresql::params::python_package_name,
510
String[1] $package_ensure = 'present'

manifests/params.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PRIVATE CLASS: do not use directly
1+
# @api private
22
class postgresql::params inherits postgresql::globals {
33
$version = $postgresql::globals::globals_version
44
$postgis_version = $postgresql::globals::globals_postgis_version

manifests/repo.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PRIVATE CLASS: do not use directly
1+
# @api private
22
class postgresql::repo (
33
$version = undef,
44
$proxy = undef,

0 commit comments

Comments
 (0)