projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
some ordering
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
ftp.pp
1
class roles::ftp {
2
3
$bind = $::hostname ? {
4
default => '',
5
}
6
7
$bind6 = $::hostname ? {
8
default => '',
9
}
10
11
vsftpd::site { 'ftp':
12
source => 'puppet:///modules/roles/ftp/vsftpd.conf',
13
bind => $bind,
14
}
15
16
if $bind6 {
17
vsftpd::site { 'security-v6':
18
source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
19
bind => $bind6,
20
}
21
}
22
}