forked from chef-boneyard/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.rb
39 lines (31 loc) · 1.16 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
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 "0.99.2"
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"