projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b11d5e8
)
Ignore staticsync's ssh keys on static* hosts
author
Peter Palfrader
<peter@palfrader.org>
Wed, 19 Dec 2012 08:44:22 +0000
(09:44 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 19 Dec 2012 08:44:22 +0000
(09:44 +0100)
modules/samhain/templates/samhainrc.erb
patch
|
blob
|
history
diff --git
a/modules/samhain/templates/samhainrc.erb
b/modules/samhain/templates/samhainrc.erb
index
d25138f
..
0f227ed
100644
(file)
--- a/
modules/samhain/templates/samhainrc.erb
+++ b/
modules/samhain/templates/samhainrc.erb
@@
-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]
##