-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproftpd.cf
64 lines (46 loc) · 1.75 KB
/
proftpd.cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
bundle agent proftpd {
vars:
"packages" slist => { "proftpd-basic",
"proftpd-mod-mysql",
"mysql-server"
};
packages:
"$(packages)"
policy => "present";
services:
"proftpd"
service_policy => "start";
"mysql"
service_policy => "start";
files:
"/etc/proftpd/."
comment => "ProFTPD config directory",
create => "true",
perms => m("750");
"/etc/proftpd/proftpd.conf"
comment => "ProFTPD main config file",
create => "true",
perms => m("640"),
edit_template => "$(sys.inputdir)/policies/files/etc/proftpd/proftpd.conf";
"/etc/proftpd/modules.conf"
comment => "ProFTPD modules config file",
create => "true",
perms => m("640"),
edit_template => "$(sys.inputdir)/policies/files/etc/proftpd/modules.conf";
"/var/log/proftpd/."
comment => "ProFTPD log directory",
create => "true",
perms => m("755");
"/var/log/mysql/."
comment => "MySQL log directory",
create => "true",
perms => m("755");
"/usr/local/bin/create_proftpd_database"
comment => "Shell script to create ProFTPD database",
create => "true",
perms => mog("0754", "root", "staff"),
edit_template => "$(sys.inputdir)/policies/files/usr/local/bin/create_proftpd_database";
commands:
"/usr/local/bin/create_proftpd_database";
}
# vim: ft=cf3 foldlevel=99