summaryrefslogtreecommitdiff
path: root/puppet/modules/haveged
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2015-01-24 11:21:44 -0500
committerMicah Anderson <micah@leap.se>2015-01-24 11:21:44 -0500
commit6f0a176f949fff329f2275e4e0ec707aa4f2bdf3 (patch)
treee97f57f0e65bff26380e6e645331f91c6f723ae8 /puppet/modules/haveged
parent19567504f45a1041a088a8b91e1eb323583661f5 (diff)
parentb2a59dc0d8d28b14450bfef9d109331e04d6c2cf (diff)
Merge branch 'feature/6664' into develop
Change-Id: Ie6b17b348dcabbb9df8d1788858adbd05cad2803
Diffstat (limited to 'puppet/modules/haveged')
-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
+}