Changeset 92 for trunk/klask


Ignore:
Timestamp:
Mar 30, 2011, 3:52:57 PM (13 years ago)
Author:
g7moreau
Message:
  • Change /etc/klask.conf to /etc/klask/klask.conf
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r86 r92  
    2525
    2626my $KLASK_VAR      = '/var/cache/klask';
    27 my $KLASK_CFG_FILE = '/etc/klask.conf';
     27my $KLASK_CFG_FILE = '/etc/klask/klask.conf';
    2828my $KLASK_DB_FILE  = "$KLASK_VAR/klaskdb";
    2929my $KLASK_SW_FILE  = "$KLASK_VAR/switchdb";
     
    18341834=head2 updatedb
    18351835
    1836 This command will scan networks and update a database. To know which are the cmputer scan, you have to configure the file /etc/klask.conf This file is easy to read and write because klask use YAML format and not XML.
     1836This command will scan networks and update a database. To know which are the cmputer scan, you have to configure the file /etc/klask/klask.conf This file is easy to read and write because klask use YAML format and not XML.
    18371837
    18381838
     
    18441844=head2 updatesw
    18451845
    1846 This command build a map of your manageable switch on your network. The list of the switch must be given in the file /etc/klask.conf.
     1846This command build a map of your manageable switch on your network. The list of the switch must be given in the file /etc/klask/klask.conf.
    18471847
    18481848
     
    18581858=head1 CONFIGURATION
    18591859
    1860 Because klask need many parameters, it's not possible actually to use command line parameters. The configuration is done in a /etc/klask.conf YAML file. This format have many advantage over XML, it's easier to read and to write !
     1860Because klask need many parameters, it's not possible actually to use command line parameters. The configuration is done in a /etc/klask/klask.conf YAML file. This format have many advantage over XML, it's easier to read and to write !
    18611861
    18621862Here an example, be aware with indent, it's important in YAML, do not use tabulation !
     
    18991899=head1 FILES
    19001900
    1901  /etc/klask.conf
     1901 /etc/klask/klask.conf
    19021902 /var/cache/klask/klaskdb
    19031903 /var/cache/klask/switchdb
Note: See TracChangeset for help on using the changeset viewer.