Ori.livneh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/231973

Change subject: Add simple haveged module
......................................................................

Add simple haveged module

"The haveged project is an attempt to provide an easy-to-use, unpredictable
random number generator based upon an adaptation of the HAVEGE algorithm.
Haveged was created to remedy low-entropy conditions in the Linux random device
that can occur under some workloads, especially on headless servers."

Bug: T82576
Change-Id: Icb18c15dbc1031eed718a238b3b50dc3bdb6101b
---
A modules/haveged/manifests/init.pp
1 file changed, 19 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/73/231973/1

diff --git a/modules/haveged/manifests/init.pp 
b/modules/haveged/manifests/init.pp
new file mode 100644
index 0000000..721bc25
--- /dev/null
+++ b/modules/haveged/manifests/init.pp
@@ -0,0 +1,19 @@
+# == Class: haveged
+#
+# The haveged project is an attempt to provide an easy-to-use, unpredictable
+# random number generator based upon an adaptation of the HAVEGE algorithm.
+# Haveged was created to remedy low-entropy conditions in the Linux random
+# device that can occur under some workloads, especially on headless servers.
+#
+class haveged {
+    require_package('haveged')
+
+    service { 'haveged':
+        ensure   => running,
+        enable   => true,
+        provider => $::initsystem ? {
+            systemd => 'systemd',
+            default => 'debian',
+        },
+    }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/231973
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb18c15dbc1031eed718a238b3b50dc3bdb6101b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to