summaryrefslogtreecommitdiff
path: root/manifests/client
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-03-01 21:56:22 +0100
committermh <mh@immerda.ch>2011-03-01 21:56:22 +0100
commite7a1d738c9c95ff059fbaeff107d91a2e1742f8e (patch)
tree34d6274c4ab11602ac564e6f8c70703ffb6b5a1d /manifests/client
parent374d403d3417b72bd54edfed73ee193d21b5d5bb (diff)
downloadpuppet-ekeyd-e7a1d738c9c95ff059fbaeff107d91a2e1742f8e.tar.gz
puppet-ekeyd-e7a1d738c9c95ff059fbaeff107d91a2e1742f8e.tar.bz2
add egd-management
We can now run hosts with a key in the host mode, so it will provide entropy to other hosts. Furthermore we can define clients that will collect entropy from such a host.
Diffstat (limited to 'manifests/client')
-rw-r--r--manifests/client/base.pp3
-rw-r--r--manifests/client/centos.pp7
2 files changed, 10 insertions, 0 deletions
diff --git a/manifests/client/base.pp b/manifests/client/base.pp
new file mode 100644
index 0000000..411b7ee
--- /dev/null
+++ b/manifests/client/base.pp
@@ -0,0 +1,3 @@
+class ekeyd::client::base {
+ include ekeyd::egd
+}
diff --git a/manifests/client/centos.pp b/manifests/client/centos.pp
new file mode 100644
index 0000000..b9328bb
--- /dev/null
+++ b/manifests/client/centos.pp
@@ -0,0 +1,7 @@
+class ekeyd::client::centos inherits ekeyd::client::base {
+ file{'/etc/sysconfig/egd-linux':
+ content => "DAEMON_HOST=${ekeyd_host}\n",
+ notify => Service['egd-linux'],
+ owner => root, group => 0, mode => 0644;
+ }
+}