diff --git a/manifests/config.pp b/manifests/config.pp index a4f56b7..84de22c 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -22,4 +22,10 @@ class pureftpd::config { require => Class['pureftpd::install'], notify => Class['pureftpd::service'], } + if ($pureftpd::auth_type == 'puredb') { + file { '/etc/pure-ftpd/auth/50pure': + ensure => 'link', + target => '/etc/pure-ftpd/conf/PureDB', + } + } }