Classes
Public Classes
proftpd
: Install and configure ProFTPD
Private Classes
proftpd::config
: Setup ProFTPD configurationproftpd::install
: Install ProFTPD packagesproftpd::service
: Manage the ProFTPD service
Defined types
Public Defined types
proftpd::ftpasswd_user
: Add a user to ftpasswd
Private Defined types
proftpd::module
: Load a ProFTPD module
Install and configure ProFTPD
The following parameters are available in the proftpd
class.
Data type: String[1]
Specify which erb template to use.
Data type: Boolean
Set to false
to disable loading of the default configuration. Defaults to true
.
Data type: Boolean
Set to false
to disable managing of the ProFTPD configuration file(s).
Data type: Boolean
Set to false
to disable managing of the ProFTPD ftpasswd file.
Data type: String
Overwrite the package ensure
parameter.
Data type: Boolean
Set to false
to disable package management. Defaults to true
.
Data type: Boolean
Set to false
to disable service management. Defaults to true
.
Data type: Boolean
Set to false
to disable the ProFTPD system service. Defaults to true
.
Data type: String
Overwrite the service ensure
parameter.
Data type: Optional[Stdlib::Absolutepath]
Prefix to be added to all paths. Only required on certain operating systems or special installations.
Default value: undef
Data type: Stdlib::Filemode
File mode to be used for config files. Defaults to 0644
.
Data type: Stdlib::Absolutepath
Path to the ProFTPD binary.
Data type: Stdlib::Absolutepath
Path to the ProFTPD configuration file.
Data type: Stdlib::Absolutepath
Directory for additional configuration files.
Data type: Stdlib::Absolutepath
Directory for log files.
Data type: Stdlib::Absolutepath
Directory for runtime files (except PIDfile).
Data type: Array[String[1]]
An array of packages which should be installed.
Data type: String[1]
The name of the ProFTPD service.
Data type: String[1]
Set the user under which the server will run.
Data type: String[1]
Set the group under which the server will run.
Data type: String[1]
Set the user that should own all configuration files.
Data type: String[1]
Set the user that should own all configuration files.
Data type: Stdlib::Absolutepath
Path and name of the PID file for the ProFTPD service.
Data type: Stdlib::Absolutepath
Path and name of the ScoreboardFile for the ProFTPD service.
Data type: Stdlib::Absolutepath
Path and name of the ftpasswd file.
Data type: Hash
An optional hash containing the default options to configure ProFTPD for anonymous FTP access. Use this to overwrite these defaults.
Data type: Boolean
Set to true
to enable loading of the $anonymous_options
hash.
Data type: Hash
A hash containing a set of working default options for ProFTPD. This should make it easy to get a running service and to overwrite a few settings.
Data type: Hash
A hash of optional ProFTPD modules to load. It is possible to load modules in a specific order by using the order attribute.
Data type: Hash
Specify a hash containing options to either overwrite the default options or
configure ProFTPD from scratch. Will be merged with $default_options
hash
(as long as $default_config
is not set to false
).
Data type: Optional[Stdlib::Filesource]
Inject the AuthUserFile by defining a Puppet source (e.g. puppet:///modules/mymodule/ftpd.passwd)
Default value: undef
Data type: Optional[Stdlib::Filesource]
Inject the AuthGroupFile by defining a Puppet source (e.g. puppet:///modules/mymodule/ftpd.group)
Default value: undef
Add a user to ftpasswd
The following parameters are available in the proftpd::ftpasswd_user
defined type.
Data type: Any
A hashed password.
Data type: Any
The UID of the user.
Data type: Any
The GID of the user.
Data type: Any
The home directory of the user.
Default value: "/home/${name}"
Data type: Any
The shell of the user.
Default value: '/bin/false'
Data type: Any
(Namevar) The user's login name.
Default value: $name
Data type: Any
The GECOS field with additional (optional) information about the user.
Default value: $name
Data type: Any
The target ftpasswd file.
Default value: $proftpd::ftpasswd_file