summaryrefslogtreecommitdiff
path: root/manifests/install.pp
diff options
context:
space:
mode:
authorJustin Lambert <jlambert@eml.cc>2013-01-10 20:34:48 -0700
committerJustin Lambert <jlambert@eml.cc>2013-01-10 20:34:48 -0700
commit5df60aad95fcff99ef5837577b0a70435e99d1aa (patch)
tree94f191531c4342052c43e96b59e299f63f069e5a /manifests/install.pp
parentc0b642e0e81b3c12c52a5f4b2d8f5ae4317e8c36 (diff)
documentation, refactoring to make the dependency chain easier to follow
Diffstat (limited to 'manifests/install.pp')
-rw-r--r--manifests/install.pp30
1 files changed, 30 insertions, 0 deletions
diff --git a/manifests/install.pp b/manifests/install.pp
new file mode 100644
index 0000000..c22775d
--- /dev/null
+++ b/manifests/install.pp
@@ -0,0 +1,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'];
+ }
+} \ No newline at end of file