Version information
released Feb 24th 2014
Start using this module
Add this module to your Puppetfile:
mod 'thias-vsftpd', '0.2.1'
Learn more about managing modules with a PuppetfileDocumentation
thias/vsftpd — version 0.2.1 Feb 24th 2014
puppet-vsftpd
Overview
This module enables and configures a vsftpd FTP server instance.
vsftpd
: Enable and configure the vsftpd FTP server
Examples
With all of the module's default settings :
include vsftpd
Tweaking a few settings (have a look at manifests/init.pp
to know which
directives are supported as parameters) :
class { 'vsftpd':
anonymous_enable => 'NO',
write_enable => 'YES',
ftpd_banner => 'Marmotte FTP Server',
chroot_local_user => 'YES',
}
For any directives which aren't directly supported by the module, use the
additional directives
hash parameter :
class { 'vsftpd':
ftpd_banner => 'ASCII FTP Server',
directives => {
'ascii_download_enable' => 'YES',
'ascii_upload_enable' => 'YES',
},
}
And if you really know what you are doing, you can use your own template or
start with an empty one which is provided (see vsftpd.conf(5)
) in order
to have all configuration passed in the directives
hash :
class { 'vsftpd':
template => 'vsftpd/empty.conf.erb',
directives => {
'ftpd_banner' => 'Upload FTP Server',
'listen' => 'YES',
'tcp_wrappers' => 'YES',
'anon_upload_enable' => 'YES',
'dirlist_enable' => 'NO',
'download_enable' => 'NO',
},
}
2014-02-24 - 0.2.1
- Add allow_writeable_chroot directive (#8).
2013-10-14 - 0.2.0
- Add support for arbitrary extra directives (#6).
- Add support for using an empty or a custom template for vsftpd.conf.
- Move package and service names to params class.
2013-09-04 - 0.1.5
- Add support for userlist_deny (Dennis Laumen).
2013-09-03 - 0.1.4
- Add params class with a confdir to support Debian/Ubuntu.
2013-07-22 - 0.1.3
- Add 8 additional vsftpd.conf configuration options (Joshua Hoblitt).
- Clean default parameters from false to undef for when they're not set.
2013-05-20 - 0.1.2
- Update README and use markdown.
- Change to 2-space indent.
2012-04-20 - 0.1.1
- Add hide_file support.
2012-04-03 - 0.1.0
- Clean up module for public release.
Copyright (C) 2011-2013 Matthias Saou 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.