diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-05-13 18:20:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-05-13 18:20:42 -0300 |
commit | a7d06c32ce26162e8233254477f167a5be4bed5f (patch) | |
tree | 29e2414ff4f8f3d99f56fee7b4fcfda569849399 /manifests | |
parent | 8679a801bcb8da32c404c7dec3d11106c9cf522a (diff) | |
download | puppet-mumble-a7d06c32ce26162e8233254477f167a5be4bed5f.tar.gz puppet-mumble-a7d06c32ce26162e8233254477f167a5be4bed5f.tar.bz2 |
Adding default config
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 11 |
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; + } } |