GithubHelp home page GithubHelp logo

puppet-ftpserver's Introduction

puppet-ftpserver

Puppet module to install

For more information using this tool:

Parameters

All parameters are read from hiera, defaults in init.pp.

Classes

ftpserver ftpserver::users ftpserver::backmeup

Dependencies

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

Examples

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: }

Result

Working FTP server (for passive connections) with iptables firewall settings

Limitations

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

Authors

Author Name [email protected]

puppet-ftpserver's People

Contributors

davidheijkamp avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.