X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsamhain%2Ftemplates%2Fsamhainrc.erb;h=b2be07aac392f11747ff7bda0a51b379be1fb25a;hb=355a8f07e8eb7052cf51e0193b24ea829bac1a4c;hp=0c7b04e8a344aee61f2bca0aa0318ba5f3569406;hpb=8e50e39f53fdf55e61a66fdf221deb95835c8a00;p=mirror%2Fdsa-puppet.git diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 0c7b04e8a..b2be07aac 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -114,6 +114,12 @@ file=/etc/static-clients.conf file=/etc/apache2/conf-available/puppet-ssl-key-pins.conf <% end -%> file=/etc/multipath/wwids +<%- if has_variable?("bgpd") && @bgpd -%> +file=/etc/quagga/bgpd.conf +<% end -%> +<%- if has_variable?("zebra") && @zebra -%> +file=/etc/quagga/zebra.conf +<% end -%> # # There are files in /etc that might change, thus changing the directory @@ -180,6 +186,12 @@ file=/etc/ssh/userkeys file=/etc/ssh/userkeys/staticsync <% end -%> file=/etc/rsyncd +<%- if @hostname == "sibelius" then -%> +file=/etc/tsm +file=/etc/tsm/TSM.PWD +<% end -%> +file=/etc/ssl/private + [LogFiles] ## @@ -237,6 +249,7 @@ file=/var/log/syslog [IgnoreAll] +dir=-1/srv ## ## for these files, no modifications are reported ## @@ -418,16 +431,15 @@ file=/usr/lib/nagios/plugins/dsa-update-samhain-status file=/etc/sudoers file=/etc/stunnel/puppet-ekeyd-peer.pem file=/etc/stunnel/puppet-ekeyd.conf -file=/etc/sysctl.d/mmap_min_addr.conf file=/etc/pam.d/sudo file=/etc/monit/monitrc file=/etc/monit/monit.d/01puppet file=/etc/monit/monit.d/00debian.org file=/etc/cron.d/dsa-puppet-stuff -file=/etc/cron.d/dsa-buildd file=/etc/cron.weekly/stunnel-ekey-restart file=/etc/default/schroot file=/etc/schroot/default/nssdatabases +file=/etc/schroot/setup.d/99builddsourceslist file=/etc/schroot/setup.d/99porterbox-extra-sources file=/etc/schroot/setup.d/99porterbox-extra-apt-options file=/etc/openvswitch/conf.db @@ -492,6 +504,7 @@ dir=1/usr/share/puppet-dashboard/tmp/pids <% if classes.include?("porterbox") %> file=/etc/cron.weekly/puppet-mail-big-homedirs <% end -%> +file=/etc/ssl/private/*.key-certchain [IgnoreNone] ## @@ -657,14 +670,14 @@ SyslogSeverity=alert # ##################################################### -# [SuidCheck] +[SuidCheck] ## ## --- Check the filesystem for SUID/SGID binaries ## -## Switch on +## Switch off # -# SuidCheckActive = yes +SuidCheckActive = 0 ## Interval for check (seconds) # @@ -829,6 +842,11 @@ SyslogSeverity=alert # # SetDefault = no +<% if scope.call_function('versioncmp', [@lsbmajdistrelease, '9']) >= 0 -%> +[PortCheck] +PortCheckActive=0 +<% end -%> + ##################################################### # @@ -934,7 +952,7 @@ SetMailNum = 10 ## Recipient (max. 8) # -SetMailAddress=samhain-reports@<%= fqdn -%> +SetMailAddress=samhain-reports@<%= @fqdn -%> SetMailRelay = localhost