Version information
released May 17th 2015
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'joduba-proftpd', '0.0.5'
Learn more about managing modules with a PuppetfileDocumentation
joduba/proftpd — version 0.0.5 May 17th 2015
puppet-proftpd
Overview
This module enables and configures a proftpd FTP server instance.
proftpd
: Enable and configure the proftpd FTP server
Examples
With all of the module's default settings :
include proftpd
Tweaking a few settings (have a look at manifests/init.pp
to know which
directives are supported as parameters) :
class { 'proftpd':
serverName => "My FTPServer",
timeoutNoTransfer => 900,
timeoutStalled => 3600,
timeoutIdle => 600,
user => 'www-data',
group => 'www-data',
passivePorts=> '60000 60199',
displayConnectContent => 'WARNING!!!
This web services are running with UTF-8 encoding.
Please verify that any published text file is UTF-8 encoded
to avoid any displaying errors.
Thank you',
}
For any directives which aren't directly supported by the module, use the
additional directives
hash parameter :
class { 'proftpd':
serverName => "My FTPServer",
directives => {
'Include' => '/etc/proftpd/virtuals.conf',
},
}
Mod_SQL requires connection information to be passed to the resource
class { 'proftpd':
serverName => "My FTPServer",
timeoutNoTransfer => 900,
timeoutStalled => 3600,
timeoutIdle => 600,
user => 'www-data',
group => 'www-data',
passivePorts=> '60000 60199',
displayConnectContent => 'WARNING!!!
This web services are running with UTF-8 encoding.
Please verify that any published text file is UTF-8 encoded
to avoid any displaying errors.
Thank you',
load_modules => {
mod_sql => {
sqldbhost => "localhost",
sqldbname => "ftpusers",
sqldbuser => "ftpusers",
sqldbpass => "mypassword",
}
}
For any directives which aren't directly supported by the module, use the
additional directives
hash parameter :
class { 'proftpd':
serverName => "My FTPServer",
timeoutNoTransfer => 900,
timeoutStalled => 3600,
timeoutIdle => 600,
user => 'www-data',
group => 'www-data',
passivePorts=> '60000 60199',
displayConnectContent => 'WARNING!!!
This web services are running with UTF-8 encoding.
Please verify that any published text file is UTF-8 encoded
to avoid any displaying errors.
Thank you',
load_modules => {
mod_sql => {
sqldbhost => "localhost",
sqldbname => "ftpusers",
sqldbuser => "ftpusers",
sqldbpass => "mypassword",
directives => {
'SQLUserWhereClause' => '"LoginAllowed = \'true\'"',
},
}
}
2015-05-17 - 0.0.5
- Improvement: Added log rotate for mod_sql
2015-05-17 - 0.0.4
- Improvement: reorganized the code to ensure the modules.conf does not get updated on every puppet call
2014-12-14 - 0.0.3
- Fix: mod_sql sqlLogUpdatecountQuery and sqlLogModifiedQuery syntax error
2014-12-09 - 0.0.2
- Fix: added dependencies to make sure it works on a clean machine
2014-11-14 - 0.0.1
- Install proftpd
- Support for mod_sql
- puppet module install joduba-proftpd
Dependencies
- puppetlabs/stdlib (>=3.2.0)
- puppetlabs/apt (>=1.1.0)
Copyright (C) 2011-2014 JODUBA / Iwith.org Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.