From b2a59dc0d8d28b14450bfef9d109331e04d6c2cf Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 21 Jan 2015 15:10:36 -0500 Subject: Provide a base-level set of quality entropy by installing haveged on systems by default (#6664) Change-Id: Ic2d4416b7c55f00f01d4b2ade78339d653bc8993 --- puppet/modules/haveged/manifests/init.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 puppet/modules/haveged/manifests/init.pp (limited to 'puppet/modules/haveged') 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 +} -- cgit v1.2.3 From 29961800ca92983cf60131bfe4894ecc4ee13107 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 27 Jan 2015 09:18:35 -0500 Subject: Fix unresolved dependency (#6664) Change-Id: I70a35d6c14ec4a8551af0afd8731ef703f89e510 --- puppet/modules/haveged/manifests/init.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'puppet/modules/haveged') diff --git a/puppet/modules/haveged/manifests/init.pp b/puppet/modules/haveged/manifests/init.pp index 6d6a3569..8f901937 100644 --- a/puppet/modules/haveged/manifests/init.pp +++ b/puppet/modules/haveged/manifests/init.pp @@ -9,8 +9,7 @@ class haveged { hasrestart => true, hasstatus => true, enable => true, - require => Package['haveged'], - subscribe => File['/etc/default/haveged']; + require => Package['haveged']; } include site_check_mk::agent::haveged -- cgit v1.2.3