Class pure-ftpd::pure-ftpd
In: /modules/pure-ftpd/manifests/init.pp
Parent:

Pure-FTPd FTP server class.

The defaults are as close as possible to the original Fedora/EPEL defaults.

Resources

Resources

File["/etc/pure-ftpd"]
   ensure => directory
   owner => "root"
   group => "root"
   mode => "0755"

Chicken and egg! Initial conf requires this, but package provides it

File["/etc/pure-ftpd/pure-ftpd.conf"]
   require => File["/etc/pure-ftpd"]
   content => template("pure-ftpd/pure-ftpd.conf.erb")
   notify => Service["pure-ftpd"]

Main configuration file

Package["pure-ftpd"]
   ensure => installed

Main package and service it provides

Service["pure-ftpd"]
   require => [File["/etc/pure-ftpd/pure-ftpd.conf"], Package["pure-ftpd"]]
   enable => true
   ensure => running
   hasstatus => true

[Validate]