]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Ignore staticsync's ssh keys on static* hosts
authorPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 08:44:22 +0000 (09:44 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 19 Dec 2012 08:44:22 +0000 (09:44 +0100)
modules/samhain/templates/samhainrc.erb

index d25138fb6bc53f8dc57520e7fc9452534c6063bc..0f227ed7b6037e69f8b22adb1654de191a6edbf8 100644 (file)
@@ -156,6 +156,10 @@ file=/etc/ferm/dsa.d
 file=/etc/rc.local
 file=/etc/unbound
 file=/etc/dsa
+<% if scope.lookupvar('site::nodeinfo')['static_mirror'] or scope.lookupvar('site::nodeinfo')['static_source'] or scope.lookupvar('site::nodeinfo')['static_master'] -%>
+file=/etc/ssh/userkeys
+file=/etc/ssh/userkeys/staticsync
+<% end -%>
 
 [LogFiles]
 ##