Ajout du probe pour sysctl
darcs-hash:20091230145201-8fbb1-1d18d7eaf74e068e95eb9c371110b17119f0dfa9.gz
This commit is contained in:
parent
82e4afb8b6
commit
d3cd1730e3
3 changed files with 13 additions and 0 deletions
|
@ -40,6 +40,10 @@
|
|||
<ConfigFile name="/etc/network/interfaces"/>
|
||||
</Group>
|
||||
|
||||
<Group name="sysctl.local">
|
||||
<ConfigFile name="/etc/sysctl.conf"/>
|
||||
</Group>
|
||||
|
||||
<Group name="nfs">
|
||||
<!-- fping est necessaire pour le script attendre-vert -->
|
||||
<Package name="fping"/>
|
||||
|
|
|
@ -1084,6 +1084,9 @@
|
|||
<Group name="interfaces.local"
|
||||
comment="indique l'exsitence de /etc/network/interfaces.local"/>
|
||||
|
||||
<Group name="sysctl.local"
|
||||
comment="indique l'exsitence de /etc/sysctl.local"/>
|
||||
|
||||
<Group name="adm-only"
|
||||
comment="pour les serveurs qui sont seulement sur le vlan adm"/>
|
||||
|
||||
|
|
6
Probes/sysctl
Executable file
6
Probes/sysctl
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f /etc/sysctl.conf.local ]; then
|
||||
echo "group:sysctl.local"
|
||||
exec cat /etc/sysctl.conf.local
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue