summaryrefslogtreecommitdiff
path: root/manifests/install.pp
blob: c22775d56fe5771000bc95f579d7cbab230035e0 (plain)
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
# == Class: openvpn
#
# This module installs the openvpn service, configures vpn endpoints, generates
# client certificates, and generates client config files
#
#
# === Examples
#
# This class should not be directly invoked
#
#
# === Authors
#
# * Raffael Schmid <mailto:raffael@yux.ch>
# * John Kinsella <mailto:jlkinsel@gmail.com>
# * Justin Lambert <mailto:jlambert@letsevenup.com>
#
class openvpn::install {

  package {
    'openvpn':
      ensure => installed;
  }

  file {
    [ '/etc/openvpn', '/etc/openvpn/keys' ]:
      ensure  => directory,
      require => Package['openvpn'];
  }
}