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:
549a587
)
samhainrc: support merged usr layout
author
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 28 Aug 2019 10:07:00 +0000
(12:07 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 28 Aug 2019 10:07:00 +0000
(12:07 +0200)
modules/samhain/templates/samhainrc.erb
patch
|
blob
|
history
diff --git
a/modules/samhain/templates/samhainrc.erb
b/modules/samhain/templates/samhainrc.erb
index
603e797
..
80a1dc1
100644
(file)
--- a/
modules/samhain/templates/samhainrc.erb
+++ b/
modules/samhain/templates/samhainrc.erb
@@
-531,15
+531,24
@@
dir=10/var/lib/puppet/clientbucket
## for these files, only access time is ignored
##
dir=/usr/bin
+<%- if has_variable?("merged_usr") && @merged_user -%>
+file=/bin
+<% else -%>
dir=/bin
+<% end -%>
dir=/boot
#
# SuSE (old) has the boot init scripts in /sbin/init.d/*,
# so we go 3 levels deep
#
+<%- if has_variable?("merged_usr") && @merged_user -%>
+file=/lib
+file=/sbin
+<% else -%>
dir=3/sbin
-dir=/usr/sbin
dir=/lib
+<% end -%>
+dir=/usr/sbin
dir=3/usr/lib
dir=3/usr/share
#