summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-07 10:23:45 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-07 10:23:45 -0200
commit12551a6bcdb0fa7915567db280073cb21de59a6c (patch)
treebe529cd5de1fdd1d9f1e4174a29d5e93c480a079 /manifests
parent8a5ef2ce56429e1da0e9d15c73df5351a1f17515 (diff)
downloadpuppet-mumble-12551a6bcdb0fa7915567db280073cb21de59a6c.tar.gz
puppet-mumble-12551a6bcdb0fa7915567db280073cb21de59a6c.tar.bz2
Use /etc/default/mumble-server for LD_PRELOAD ECDHE
Diffstat (limited to 'manifests')
-rw-r--r--manifests/ecdhforce.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/ecdhforce.pp b/manifests/ecdhforce.pp
index 1067b33..bf4104a 100644
--- a/manifests/ecdhforce.pp
+++ b/manifests/ecdhforce.pp
@@ -31,11 +31,22 @@ class mumble::ecdhforce {
group => root,
}
+ # TODO: remove definition in the future
file { '/etc/init.d/mumble-server':
ensure => present,
owner => root,
group => root,
mode => 0755,
+ source => "puppet:///modules/mumble/ecdhforce/mumble-server.init.d.${::operatingsystem}",
+ require => Exec['ecdhforce-link'],
+ notify => Service['mumble-server'],
+ }
+
+ file { '/etc/default/mumble-server':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0755,
source => "puppet:///modules/mumble/ecdhforce/mumble-server.${::operatingsystem}",
require => Exec['ecdhforce-link'],
notify => Service['mumble-server'],