forked from sous-chefs/openvpn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmetadata.rb
66 lines (53 loc) · 2.09 KB
/
metadata.rb
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
65
66
name "openvpn"
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs and configures openvpn and includes rake tasks for managing certs"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.2"
depends "logrotate"
recipe "openvpn", "Installs and configures openvpn"
recipe "openvpn::users", "Sets up openvpn cert/configs for users data bag items"
%w{ redhat centos fedora ubuntu debian }.each do |os|
supports os
end
attribute "openvpn/local",
:display_name => "OpenVPN Local",
:description => "Local interface (ip) to listen on",
:default => "ipaddress"
attribute "openvpn/proto",
:display_name => "OpenVPN Protocol",
:description => "UDP or TCP",
:default => "udp"
attribute "openvpn/type",
:display_name => "OpenVPN Type",
:description => "Server or server-bridge",
:default => "server"
attribute "openvpn/subnet",
:display_name => "OpenVPN Subnet",
:description => "Subnet to hand out to clients",
:default => "10.8.0.0"
attribute "openvpn/netmask",
:display_name => "OpenVPN Netmask",
:description => "Netmask for clients",
:default => "255.255.0.0"
attribute "openvpn/topology",
:display_name => "VPN topology",
:description => "Virtual addressing topology used by the VPN",
:default => "subnet"
attribute "openvpn/tls_auth",
:display_name => "TLS authentication key",
:description => "The key to use for TLS authentication"
attribute "openvpn/tls_auth_direction",
:display_name => "TLS authentication direction",
:description => "Direction for TLS authentication",
:default => "0"
attribute "openvpn/cipher",
:display_name => "Cipher to use",
:description => "Override the cipher to use for encryption on the VPN"
attribute "openvpn/client_config_dir",
:display_name => "Directory for client configuration",
:description => "Directory for client configuration"
attribute "openvpn/client_to_client",
:display_name => "Allow client-to-client communication",
:description => "Route communication between clients"