["iscsi/update.sh"] On appelle update.sh sur les dom0 : c'est mieux dans bcfg2.
Peut-être penser à les appeler à des heures différentes ?
This commit is contained in:
parent
63b7e47ea3
commit
b60bc6becf
4 changed files with 17 additions and 3 deletions
3
Bundler/iscsi-update.xml
Normal file
3
Bundler/iscsi-update.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<Bundle name="iscsi-update.xml">
|
||||
<Path name="/etc/cron.d/iscsi"/>
|
||||
</Bundle>
|
3
Cfg/etc/cron.d/iscsi/info.xml
Normal file
3
Cfg/etc/cron.d/iscsi/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='root' perms='0644'/>
|
||||
</FileInfo>
|
4
Cfg/etc/cron.d/iscsi/iscsi
Normal file
4
Cfg/etc/cron.d/iscsi/iscsi
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Fichier géré par Bcfg2 (plugin Cfg)
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
# Mise à jours des liens vers la baie de disque
|
||||
48 5 * * 6 root /usr/scripts/gestion/iscsi/update.sh
|
|
@ -73,10 +73,9 @@
|
|||
<Group name="wifi-auth" />
|
||||
</Group>
|
||||
|
||||
<Group name="malloc"
|
||||
profile="true">
|
||||
<Group name="malloc" profile="true">
|
||||
<Group name="crans-wheezy"/>
|
||||
<Group name="db-replicat"/>
|
||||
<Group name="iscsi"/>
|
||||
</Group>
|
||||
|
||||
<Group name="dyson"
|
||||
|
@ -155,6 +154,7 @@
|
|||
<Group name="bureau"/>
|
||||
<Group name="non-free"/>
|
||||
<Group name="db-replicat-test"/>
|
||||
<Group name="iscsi"/>
|
||||
</Group>
|
||||
|
||||
<Group name="test"
|
||||
|
@ -510,6 +510,10 @@
|
|||
<Bundle name="nagios"/>
|
||||
</Group>
|
||||
|
||||
<Group name="dom0">
|
||||
<Bundle name="iscsi-update"/>
|
||||
</Group>
|
||||
|
||||
<Group name="crans-nfs-squeeze">
|
||||
<Group name="crans"/>
|
||||
<Group name="crans-nfs"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue