Skip to content

Commit 7e1aa36

Browse files
author
Joshua Hoblitt
committed
remove unused class parameters/docs from pureftpd::config_{mysql,pgsql}
1 parent 1e51466 commit 7e1aa36

File tree

2 files changed

+14
-147
lines changed

2 files changed

+14
-147
lines changed

manifests/config_mysql.pp

+7-72
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,22 @@
1-
# == Define: pureftpd::config
1+
# == Class: pureftpd::config
22
#
3-
# This module manages the pure-ftpd configuration files with mysql authentication
3+
# This module manages the pure-ftpd configuration files with mysql
4+
# authentication
45
#
56
# === Parameters
67
#
7-
# [*use_selinux*]
8-
# Optional, defaults to false.
9-
# Manages whether or not to enable selinux extensions.
10-
#
11-
# [*allow_anonymous*]
12-
# Optional, defaults to false.
13-
# Manages whether or not to allow anonymous users.
14-
#
15-
# [*allow_fxp*]
16-
# Optional, defaults to false.
17-
# Manages whether or not to allow the fxp protocol
18-
#
19-
# [*user_bandwidth*]
20-
# Optional, defaults to undef.
21-
# Defines the maximum bandwidth that the can be used, in the form
22-
# $kb_download:$kb_upload (e.g., 1800:1800).
23-
#
24-
# [*max_clients_number*]
25-
# Optional, defaults to 50.
26-
# Maximum number of simultaneous users that the server can manage.
27-
#
28-
# [*max_clients_per_ip*]
29-
# Optional, defaults to 8.
30-
# Maximum number of different clients that can come from a single IP
31-
#
32-
# [*umask*]
33-
# Optional, defaults to 133:022.
34-
# Specifies the user mask of the uploaded files/directories, in the form
35-
# $file_umask:$dir_umask (e.g., 177:077).
36-
#
37-
# [*min_uid*]
38-
# Optional, defaults to 500.
39-
# The minimum user id that can be accepted as an ftp user.
40-
#
41-
# [*allow_chmod*]
42-
# Optional, defaults to false.
43-
# Whether or not users are allowed to change ownerships of their files.
44-
#
45-
# [*use_tls*]
46-
# Optional, defaults to false.
47-
# Whether or not to accept tls connections in addition to normal ones.
48-
# TODO: Remember to place your server certificate in /etc/ssl/private/pure-ftpd.pem
49-
#
50-
# [*force_passive_ip*]
51-
# Optional, defaults to undef (not set)
52-
# Force an IP address in PASV/EPSV/SPSV replies
53-
#
54-
# [*motd_file*]
55-
# Optional, defaults to undef (use the dynamic provided file).
56-
# Manages the location of the server motd file, if any.
57-
#
58-
# === Examples
59-
#
60-
# pureftpd::config_mysql { 'ftp-server':
61-
# user_bandwidth => '1800:1800'
62-
# }
638
#
649
# === Authors
6510
#
6611
# 5Ub-Z3r0
12+
# Joshua Hoblitt <[email protected]>
6713
#
6814
# === TODO:
15+
#
6916
# - implement template and variables for the mysql config file
7017
#
71-
class pureftpd::config_mysql (
72-
$use_selinux = false,
73-
$allow_anonymous = false,
74-
$allow_fxp = false,
75-
$user_bandwidth = undef,
76-
$max_clients_number = '50',
77-
$max_clients_per_ip = '8',
78-
$umask = '133:022',
79-
$min_uid = '500',
80-
$allow_chmod = false,
81-
$use_tls = false,
82-
$force_passive_ip = undef,
83-
$motd_file = undef
84-
) {
18+
19+
class pureftpd::config_mysql inherits pureftpd::params {
8520

8621
file { $pureftpd::params::mysql_conf_path:
8722
ensure => file,

manifests/config_pgsql.pp

+7-75
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,19 @@
1-
# == Define: pureftpd::config_pgsql
1+
# == Class: pureftpd::config_pgsql
22
#
3-
# This module manages the pure-ftpd configuration files with pgsql authentication
4-
#
5-
# === Parameters
6-
#
7-
# [*use_selinux*]
8-
# Optional, defaults to false.
9-
# Manages whether or not to enable selinux extensions.
10-
#
11-
# [*allow_anonymous*]
12-
# Optional, defaults to false.
13-
# Manages whether or not to allow anonymous users.
14-
#
15-
# [*allow_fxp*]
16-
# Optional, defaults to false.
17-
# Manages whether or not to allow the fxp protocol
18-
#
19-
# [*user_bandwidth*]
20-
# Optional, defaults to undef.
21-
# Defines the maximum bandwidth that the can be used, in the form
22-
# $kb_download:$kb_upload (e.g., 1800:1800).
23-
#
24-
# [*max_clients_number*]
25-
# Optional, defaults to 50.
26-
# Maximum number of simultaneous users that the server can manage.
27-
#
28-
# [*max_clients_per_ip*]
29-
# Optional, defaults to 8.
30-
# Maximum number of different clients that can come from a single IP
31-
#
32-
# [*umask*]
33-
# Optional, defaults to 133:022.
34-
# Specifies the user mask of the uploaded files/directories, in the form
35-
# $file_umask:$dir_umask (e.g., 177:077).
36-
#
37-
# [*min_uid*]
38-
# Optional, defaults to 500.
39-
# The minimum user id that can be accepted as an ftp user.
40-
#
41-
# [*allow_chmod*]
42-
# Optional, defaults to false.
43-
# Whether or not users are allowed to change ownerships of their files.
44-
#
45-
# [*use_tls*]
46-
# Optional, defaults to false.
47-
# Whether or not to accept tls connections in addition to normal ones.
48-
# TODO: Remember to place your server certificate in /etc/ssl/private/pure-ftpd.pem
49-
#
50-
# [*force_passive_ip*]
51-
# Optional, defaults to undef (not set)
52-
# Force an IP address in PASV/EPSV/SPSV replies
53-
#
54-
# [*motd_file*]
55-
# Optional, defaults to undef (use the dynamic provided file).
56-
# Manages the location of the server motd file, if any.
57-
#
58-
# === Examples
59-
#
60-
# pureftpd::config_pgsql { 'ftp-server':
61-
# user_bandwidth => '1800:1800'
62-
# }
3+
# This module manages the pure-ftpd configuration files with pgsql
4+
# authentication
635
#
646
# === Authors
657
#
668
# 5Ub-Z3r0
9+
# Joshua Hoblitt <[email protected]>
6710
#
6811
# === TODO:
12+
#
6913
# - implement template and variables for the pgsql config file
7014
#
71-
class pureftpd::config_pgsql (
72-
$use_selinux = false,
73-
$allow_anonymous = false,
74-
$allow_fxp = false,
75-
$user_bandwidth = undef,
76-
$max_clients_number = '50',
77-
$max_clients_per_ip = '8',
78-
$umask = '133:022',
79-
$min_uid = '500',
80-
$allow_chmod = false,
81-
$use_tls = false,
82-
$force_passive_ip = undef,
83-
$motd_file = undef
84-
) {
15+
16+
class pureftpd::config_pgsql inherits pureftpd::params {
8517

8618
file { $pureftpd::params::pgsql_conf_path:
8719
ensure => file,

0 commit comments

Comments
 (0)