Browse Source

Split haveged into its own class

We need it on KDC hosts too, so let's split it out so we can consume
it there.

Change-Id: Ib913694cc0fb9d09b1560acfde0b771192da3fdc
Monty Taylor 4 years ago
commit
41b79480fb
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      manifests/init.pp

+ 13
- 0
manifests/init.pp View File

@@ -0,0 +1,13 @@
1
+# Install and run haveged to provide entropy
2
+class haveged {
3
+
4
+  package { 'haveged':
5
+    ensure => present,
6
+  }
7
+
8
+  service { 'haveged':
9
+    enable  => true,
10
+    require => Package[haveged],
11
+  }
12
+
13
+}

Loading…
Cancel
Save