xhost-cookbooks/openvpn — pull request #28 by carlewis (2014-04-14 14:41:31+00:00)
Title: Array type attributes. Template search on cookbook

Default routes and client networks can be defined with array variables as follows: #22 #21

default['openvpn']['config']['routes']=[ "push 'route 10.5.0.0 255.255.224.0'" ]
default['openvpn']['config']['client_subnet_routes'] = [ "route 10.8.0.0 255.255.255.0", "route 10.9.1.0 255.255.255.0", "route 10.9.2.0 255.255.255.0"]