Projet

Général

Profil

49_ocsinventory_client.xml

christophe guerinot, 27/02/2015 17:28

Télécharger (2,03 ko)

 
1
<?xml version="1.0" encoding="utf-8"?>
2

    
3
<creole>
4
    <files>
5
        <package>ocsinventory-agent</package>
6
        <file filelist='ocsinventory_remontee_haut_niveau' name="/etc/cron.d/eole-ocs_nat" source="eole-ocs_nat" mode='0644' owner='root' group="root" rm='True'/>
7
    </files>
8
    <containers>
9
    </containers>
10

    
11
    <variables>
12
        <family name="Ocs Inventory" mode='expert'>
13
            <variable name="activer_remontee_haut_niveau" type="oui/non" description="Activer la remontée du client vers un serveur de plus haut niveau?" exists='False'>
14
                <value>oui</value>
15
            </variable>
16
            <variable name="ocs_serveur_national" type="string" description="Serveur de plus haut niveau à contacter" exists='False'>
17
                <value>remontees-ocs.application.i2</value>
18
            </variable>
19
            <variable name="ocs_tag_national" type="string"  description="Tag à remonter pour ce serveur" exists='False'>
20
                <value>Serveur eSBL production</value>
21
            </variable>
22
            <variable name="ocs_contact_cron" type="string" description="Paramétrage de l'intervalle de remontée de l'agent " exists='False'>
23
                <value>0 */6 * * *</value>
24
            </variable>
25
            <variable name="ocs_contact_tempo" type="number" description="Temps d'attente variable à partir du déclenchement de l'inventaire" exists='False'>
26
                <value>21600</value>
27
            </variable>
28
        </family>
29
    </variables>
30

    
31
    <constraints>
32
        <condition name='disabled_if_in' source='activer_remontee_haut_niveau'>
33
            <param>non</param>
34
            <target type='variable'>ocs_serveur_national</target>
35
            <target type='variable'>ocs_tag_national</target>
36
            <target type='variable'>ocs_contact_cron</target>
37
            <target type='variable'>ocs_contact_tempo</target>
38
            <target type='filelist'>ocsinventory_remontee_haut_niveau</target>
39
        </condition>
40
    </constraints>
41

    
42
    <help>
43
    </help>
44

    
45
</creole>
46
<!-- vim: ts=4 sw=4 expandtab
47
-->