aboutsummaryrefslogtreecommitdiff
path: root/manifests/mumble.pp
blob: fbfc157dbe111e15d9c4229e095a93397ed994d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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'],
  }
}