Puppet module to install
For more information using this tool:
All parameters are read from hiera, defaults in init.pp.
ftpserver ftpserver::users ftpserver::backmeup
thias/vsftpd puppetlabs/firewall module duplicity module
firewall open ports ( 20,21 and 10000-10200 ). Range 10000-10200 can be adjusted in with the parameters ftpserver::pasv_min_port and ftpserver::pasv_max_port
Hiera_yaml example, with backup enabled
ftpserver::ftpd_banner: 'FTP Server'
ftpserver::backmeup: true
ftpserver::backuphour: 3
ftpserver::cloud: 's3'
ftpserver::backupminute: 2
ftpserver::dest_id: '<your Amazon AWS ID>'
ftpserver::dest_key: '<your Amazon AWS key>'
ftpserver::bucket: 'ftpserverbucket'
ftpserver::ftpusers:
user1:
comment: "FTP User 1"
home: "/data/ftp/user1"
password: "$1$hGAo41XE$y.BLWugfVr1.mLvkuLbRN/"
user2:
comment: "FTP User 2"
home: "/data/ftp/user2"
password: "$1$hGAo41XE$y.BLWugfVr1.mLvkuLbRN/"
Create password hashes using command: "openssl passwd -1" In the hieradata example the password is : "password"
Puppet code
class { ftpserver: }
Working FTP server (for passive connections) with iptables firewall settings
This module has been built on and tested against Puppet 3 and higher.
The module has been tested on:
- Ubuntu 12.04LTS
- CentOS 6.3
Author Name [email protected]