]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adding ekeyd support
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 29 Jan 2011 12:27:49 +0000 (10:27 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 29 Jan 2011 12:27:49 +0000 (10:27 -0200)
manifests/init.pp
manifests/physical.pp

index 94a6ac177bf7c7175d31a3ad0cb689e1006cef2d..657efa3720d93a64fd69ad6153ed7905f1380c6a 100644 (file)
@@ -41,6 +41,7 @@ import "autossh"
 import "nagios"
 import "mail"
 import "shorewall"
+import "ekeyd"
 
 # Import subsystems
 import "subsystems/firewall.pp"
index fa58884dc57ec4afd870681f1ce224ace5997c73..91bbce21365c12409b0d65fbf7b3338f4cabf7c1 100644 (file)
@@ -63,4 +63,9 @@ class nodo::physical inherits nodo {
     ensure => directory,
     mode   => 0755,
   }
+
+  # Entropy key
+  if $ekey_masterkey != '' {
+    include ekeyd
+  }
 }