diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2025-11-16 13:35:33 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2025-11-16 13:35:33 -0300 |
| commit | 15c548a60f735c3707d5390a2616e83d4874f31b (patch) | |
| tree | 6b85c9f31ae3dc8e415a729477495a2cf6d25ad4 | |
| parent | 85cbf330a456ad2f5b522e71cb3e9bcdc74d840c (diff) | |
| download | puppet-nodo-15c548a60f735c3707d5390a2616e83d4874f31b.tar.gz puppet-nodo-15c548a60f735c3707d5390a2616e83d4874f31b.tar.bz2 | |
Adds nodo::utils::network::ftp
| -rw-r--r-- | manifests/role/nas.pp | 2 | ||||
| -rw-r--r-- | manifests/utils/network/ftp.pp | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp index 27d06bd..ca2059f 100644 --- a/manifests/role/nas.pp +++ b/manifests/role/nas.pp @@ -96,6 +96,8 @@ class nodo::role::nas( virtualchroot => true, } + include nodo::utils::network::ftp + # Enable anonymous ftp file { '/etc/pure-ftpd/conf/NoAnonymous': ensure => present, diff --git a/manifests/utils/network/ftp.pp b/manifests/utils/network/ftp.pp new file mode 100644 index 0000000..854769e --- /dev/null +++ b/manifests/utils/network/ftp.pp @@ -0,0 +1,9 @@ +class nodo::utils::network::ftp ( + $ensure = 'installed', +) { + package { [ + 'ftp', + ]: + ensure => $ensure, + } +} |
