summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-05-13 18:20:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-05-13 18:20:42 -0300
commita7d06c32ce26162e8233254477f167a5be4bed5f (patch)
tree29e2414ff4f8f3d99f56fee7b4fcfda569849399 /manifests
parent8679a801bcb8da32c404c7dec3d11106c9cf522a (diff)
downloadpuppet-mumble-a7d06c32ce26162e8233254477f167a5be4bed5f.tar.gz
puppet-mumble-a7d06c32ce26162e8233254477f167a5be4bed5f.tar.bz2
Adding default config
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 32f645c..119e32d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,4 +2,15 @@ class mumble {
package { 'mumble-server':
ensure => installed,
}
+
+ file{'/etc/mumble-server.ini':
+ source => [ "puppet:///modules/site-mumble/${fqdn}/mumble-server.ini",
+ "puppet:///modules/site-mumble/mumble-server.ini",
+ "puppet:///modules/mumble/mumble-server.ini" ],
+ require => Package['mumble-server'],
+ notify => Service['mumble-server'],
+ owner => root,
+ group => mumble-server,
+ mode => 0640;
+ }
}