-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway_nginx.cf
44 lines (39 loc) · 1.57 KB
/
gateway_nginx.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
bundle agent gateway_nginx
{
files:
gateway_nginx::
"/usr/local/etc/nginx"
copy_from => purgecopy (
"/cf-public/gw-nginx", "$(sys.policy_hub)"
),
perms => mog("644", "root", "wheel"),
depth_search => recurse("1");
"/usr/local/etc/nginx/conf.d"
copy_from => purgecopy (
"/cf-public/gw-nginx/conf.d", "$(sys.policy_hub)"
),
perms => mog("644", "root", "wheel"),
depth_search => recurse("1");
"/usr/local/etc/nginx/vhost"
copy_from => purgecopy (
"/cf-public/gw-nginx/vhost", "$(sys.policy_hub)"
),
perms => mog("644", "root", "wheel"),
depth_search => recurse("1");
"/usr/local/etc/nginx/private/ssl"
copy_from => purgecopy (
"/cf-private/gw-nginx/ssl", "$(sys.policy_hub)"
),
perms => mog("600", "root", "wheel"),
depth_search => recurse("inf");
"/usr/local/etc/nginx/private/passwd"
copy_from => purgecopy (
"/cf-private/gw-nginx/passwd", "$(sys.policy_hub)"
),
perms => mog("640", "root", "www"),
depth_search => recurse("inf");
"/etc/make.conf"
create => "true",
edit_line => append_if_no_line
("DEFAULT_VERSIONS+=ssl=libressl");
}