Changeset 17

Show
Ignore:
Timestamp:
11/07/08 19:55:18 (3 years ago)
Author:
lasarux
Message:
  • README.config:
  • config.yaml: More accurated README.config and skeleton for os data
Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r16 r17  
     12008-11-07  Pedro Gracia  <pedro@flumotion.com> 
     2 
     3        * README.config: 
     4        * config.yaml: 
     5        More accurated README.config and skeleton for os data 
     6 
    172008-11-07  Pedro Gracia  <pedro@flumotion.com> 
    28 
  • trunk/README.config

    r16 r17  
    22========================== 
    33 
    4 CONFIG                                      TYPE    VALUES  DEFAULT DESCRIPTION     EXAMPLE 
     4CONFIG                                              TYPE    VALUES  DEFAULT DESCRIPTION     EXAMPLE 
    55 
    66hosts: 
    7     %hostname%:                             str                                     solhost 
    8         ipv4: %ip address%                  str                                     192.168.1.10 
    9         ssh_port: %ssh_port%                int                                     22 
    10         distro: %distro%                    str 
    11         os: %os%                            str                                     solaris 
    12         version: %version%                  str                                     10 
     7    %hostname%:                                     str                                     solhost 
     8        ipv4: %ip address%                          str                                     192.168.1.10 
     9        ssh_port: %ssh_port%                        int                                     22 
     10        os: %os%                                    str                                     solaris 
     11        distro: %distro%                            str 
     12        version: %version%                          str                                     10 
    1313 
    1414users: 
    15     %username%:                             str                                     lasarux 
    16         name: %name%                        str                                     Pedro Gracia 
    17         password: %password%                str      
    18         status: %sat%                       str    on, off          is active?      on 
     15    %username%:                                     str                                     lasarux 
     16        name: %name%                                str                                     Pedro Gracia 
     17        password: %password%                        str      
     18        status: %status%                            str    on, off          is active?      on 
    1919 
    2020os: 
    21     %osname%                                str                                      
    22         versions: [%version1%, %version2%]  list 
     21    %osname%:                                       str                                      
     22        %distro_name%:                                  str 
     23            versions: [%version1%, %version2%]          list[int] 
     24            versions_: [%version1%, %version2%]          list[str] 
     25            archs: [%arch1%, %arch2%] 
    2326 
    24 distros: 
    25     %distro_name%:                          str 
     27plugins: [%plugin1%, %plugin2%]                     list                    plugins list 
     28 
     29# Each plugin must contains this section 
    2630 
    2731commands: 
    28     %command_name%:                         str 
    29         %distro%: 
    30             %version%: 
    31                 description: %description%          str 
    32                 headlines: %headlines%              int 
    33                 parser: %parser%                    str                     regular expresion 
    34                 columns: [%column1%, %column2%,]    str                     columns to show 
     32    %command_name%:                                 str 
     33        description: %description%                  str 
     34        %os%: 
     35            %distro%: 
     36                %version%: 
     37                    %arch%:                             str 
     38                    headlines: %headlines%              int                     lines to discard in the output 
     39                    command: %command%                  str 
     40                    parser: %parser%                    str                     regular expresion 
     41                    columns: [%column1%, %column2%,]    str                     columns to show 
     42                    compatible: [[%os1%], 
     43                                 [%os2%, %distro2%], 
     44                                 [%os3%, %distro3%, %version3%], 
     45                                 [%os4%, %distro4%, %version4%, %arch4%]] 
     46                    exceptions: [[%os1%], 
     47                                 [%os2%, %distro2%], 
     48                                 [%os3%, %distro3%, %version3%], 
     49                                 [%os4%, %distro4%, %version4%, %arch4%]] 
    3550 
    36 plugins: [%plugin1%, %plugin2%]             list                    plugins list 
     51 
     52# TODO 
     53 
     54- I18N support for this file 
  • trunk/config.yaml

    r7 r17  
     1# TODO: sync format with README.config 
     2 
    13hosts: 
    24    sparctrum:  
     
    2729        password: 
    2830        status: off 
    29          
     31 
     32os: 
     33    solaris: 
     34        solaris: 
     35            versions: [] 
     36            archs: [] 
     37        opensolaris: 
     38            versions: [] 
     39            archs: [] 
     40        nexenta: 
     41            versions: [] 
     42            archs: [] 
     43        schillix: 
     44            versions: [] 
     45            archs: [] 
     46        indiana: 
     47            versions: [] 
     48            archs: [] 
     49    linux: 
     50        debian: 
     51            versions: [0, 4.1, 4.0, 3.1, 3.0, 2.2, 2.1, 2.0] 
     52            versions_: [sid, lenny, etch, sarge, 
     53                       woody, potato, slink, hamm] 
     54            archs: [alpha, x86_64, arm, armel, hppa, 
     55                    i386, ia64, mips, mipsel, powerpc, 
     56                    sparc, s390] 
     57        fedora: 
     58            versions: [5, 6, 7, 8, 9, 10] 
     59            archs: [i386, x86_64, ppc] 
     60        opensuse: 
     61            versions: [10.2, 10.3, 11.0] 
     62            archs: [i386, x86-64, ppc] 
     63        mandrake: 
     64            versions: [] 
     65            archs: [] 
     66        mandriva: 
     67            versions: [] 
     68            archs: [] 
     69        foresight: 
     70            versions: [] 
     71            archs: [] 
     72        ubuntu: 
     73            versions: [] 
     74            archs: [] 
     75        centos: 
     76            versions: [] 
     77            archs: [] 
     78        rhel: 
     79            versions: [] 
     80            archs: [] 
     81        yellowdog: 
     82            versions: [] 
     83            archs: [] 
     84    macosx: 
     85        macosx: 
     86            versions: [10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7]  
     87            versions_: [kodiak, cheetah, puma, jaguar, 
     88                       panther, tiger, leopard, snow_leopard] 
     89            archs: [ppc, intel] 
     90    freebsd: 
     91        freebsd: 
     92            versions: [1.0, 1.1, 1.1.5, 1.1.5.1, 
     93                       2.0, 2.0.5, 2.1, 2.1.5, 2.1.6, 2.1.7, 
     94                       2.2, 2.2.1, 2.2.2, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 
     95                       3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 
     96                       4.0, 4.1, 4.1.1, 4.2, 4.3, 4.4, 4.5, 
     97                       4.6, 4.6.2, 4.7, 4.8, 4.9, 4.10, 4.11, 
     98                       5.0, 5.1, 5.2, 5.2.1, 5.3, 5.4, 5.5, 
     99                       6.0, 6.1, 6.2, 6.3, 6.4, 7.0, 7.1] 
     100            archs: [alpha, amd64, i386, pc98, powerpc, sparc64] 
     101    netbsd: 
     102        netbsd: 
     103            versions: [] 
     104            archs: [] 
     105    aix: 
     106        aix: 
     107            versions: [] 
     108            archs: [] 
     109    hpux: 
     110        hpux: 
     111            versions: [] 
     112            archs: [] 
     113    irix: 
     114        irix: 
     115            versions: [] 
     116            archs: [] 
     117    minix: 
     118        minix: 
     119            versions: [] 
     120            archs: [] 
     121 
    30122commands: 
    31123    ps: