aboutsummaryrefslogtreecommitdiff
path: root/manifests/mumble.pp
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/mumble.pp
parentbb528e935f39f5bcc9576fce57dbba5ccae916c6 (diff)
downloadpuppet-nodo-11a34af2f5e9e1833a3f32c55dcfbdc567c1f875.tar.gz
puppet-nodo-11a34af2f5e9e1833a3f32c55dcfbdc567c1f875.tar.bz2
Adding nodo::mumble
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'],
+ }
+}