aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/mumble.pp18
2 files changed, 19 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3787c42..fbd5cf0 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -124,3 +124,4 @@ import "dns.pp"
import "tor.pp"
import "kvm.pp"
import "jabber.pp"
+import "mumble.pp"
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'],
+ }
+}