summaryrefslogtreecommitdiff
path: root/puppet/modules/haveged/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2015-01-21 15:10:36 -0500
committerMicah Anderson <micah@leap.se>2015-01-22 15:50:17 -0500
commitb2a59dc0d8d28b14450bfef9d109331e04d6c2cf (patch)
treebbde043ec4e7727552f5d9a3384ec349f54dc8c8 /puppet/modules/haveged/manifests
parent0d46876a37334e71634eeaa77546d3fa5d1fde55 (diff)
Provide a base-level set of quality entropy by installing haveged on
systems by default (#6664) Change-Id: Ic2d4416b7c55f00f01d4b2ade78339d653bc8993
Diffstat (limited to 'puppet/modules/haveged/manifests')
-rw-r--r--puppet/modules/haveged/manifests/init.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/puppet/modules/haveged/manifests/init.pp b/puppet/modules/haveged/manifests/init.pp
new file mode 100644
index 00000000..6d6a3569
--- /dev/null
+++ b/puppet/modules/haveged/manifests/init.pp
@@ -0,0 +1,17 @@
+class haveged {
+
+ package { 'haveged':
+ ensure => present,
+ }
+
+ service { 'haveged':
+ ensure => running,
+ hasrestart => true,
+ hasstatus => true,
+ enable => true,
+ require => Package['haveged'],
+ subscribe => File['/etc/default/haveged'];
+ }
+
+ include site_check_mk::agent::haveged
+}