]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/samhain/templates/samhainrc.erb
Ignore staticsync's ssh keys on static* hosts
[dsa-puppet.git] / 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]
 ##