summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/base.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 34c1cb8..10961a3 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -5,7 +5,10 @@ class ekeyd::base {
}
file{'/etc/entropykey/ekeyd.conf':
- source => 'puppet:///modules/ekeyd/ekeyd.conf',
+ content => $operatingsystem ? {
+ 'debian' => template("ekeyd/ekeyd.conf_${lsbdistcodename}.erb"),
+ default => template("ekeyd/ekeyd.conf_default.erb"),
+ },
require => Package['ekeyd'],
notify => Service['ekeyd'],
owner => root, group => 0, mode => 0644;