summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-30 16:45:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-30 16:45:14 -0300
commitbaee1e0c8e3500ab73845d522a57ba4ebfa10cfe (patch)
treeffaf6032aadb4ee23d57007efcb3d2f2c7e21fd4 /manifests/base.pp
parent1f1962afc2839da75c6d77c228c6b74a178c06a5 (diff)
downloadpuppet-ekeyd-baee1e0c8e3500ab73845d522a57ba4ebfa10cfe.tar.gz
puppet-ekeyd-baee1e0c8e3500ab73845d522a57ba4ebfa10cfe.tar.bz2
Incorporating Riseup code
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
index 10961a3..2826d33 100644
--- a/manifests/base.pp
+++ b/manifests/base.pp
@@ -4,6 +4,13 @@ class ekeyd::base {
ensure => installed,
}
+ # TODO (from riseup code)
+ # * eventually it would be cool if we could have two classes: one for
+ # SetOutputToKernel and one for EGDTCPSocket. But for now we're just going
+ # to have puppet deliver the ekeyd.conf file.
+ # * ekeyd will be setup to feed output to whatever is configured in the
+ # variables: $ekeyd_address and $ekeyd_port with the defaults being
+ # 127.0.0.1 and 8888
file{'/etc/entropykey/ekeyd.conf':
content => $operatingsystem ? {
'debian' => template("ekeyd/ekeyd.conf_${lsbdistcodename}.erb"),