aboutsummaryrefslogtreecommitdiff
path: root/manifests/mumble.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/mumble.pp')
-rw-r--r--manifests/mumble.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/mumble.pp b/manifests/mumble.pp
new file mode 100644
index 0000000..fbfc157
--- /dev/null
+++ b/manifests/mumble.pp
@@ -0,0 +1,18 @@
+class nodo::mumble inherits nodo::vserver {
+ include mumble
+
+ file { [ "/etc/mumble-server", "/etc/mumble-server/ssl", "/etc/mumble-server/ssl/certs", "/etc/mumble-server/ssl/private" ]:
+ ensure => directory,
+ owner => "root",
+ group => "mumble-server",
+ mode => 0750,
+ }
+
+ ssl::cert { "cert":
+ owner => 'mumble-server',
+ group => 'mumble-server',
+ base => '/etc/mumble-server/ssl',
+ notify => Service['mumble-server'],
+ require => File['/etc/mumble-server/ssl/private'],
+ }
+}