aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-13 18:22:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-13 18:22:35 -0300
commit11a34af2f5e9e1833a3f32c55dcfbdc567c1f875 (patch)
tree8a64d327c13d4a900f8aa8ab734cef84a343bfc4 /manifests
parentbb528e935f39f5bcc9576fce57dbba5ccae916c6 (diff)
downloadpuppet-nodo-11a34af2f5e9e1833a3f32c55dcfbdc567c1f875.tar.gz
puppet-nodo-11a34af2f5e9e1833a3f32c55dcfbdc567c1f875.tar.bz2
Adding nodo::mumble
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'],
+ }
+}