summaryrefslogtreecommitdiff
path: root/puppet/modules/haveged/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/haveged/manifests/init.pp')
-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
+}