zephir.backend.config

Package zephir :: Package backend :: Module config |
[frames] | no frames]

# Module config

source code

Functions
u(objet) | source code
get_file_info(f_local) | source code

Variables
| DB_HOST = ``'``127.0.0.1``'``
| DB_USER = ``'``zephir``'``
| DB_NAME = ``'``zephir``'``
| f_pwd = ``'``/usr/share/zephir/utils/conf_db``'``
| DB_PASSWD = ``'``ighaetei``'``
| PATH_MODULES = ``'``/var/lib/zephir/modules/``'``
| TEMPLATE_DIR = ``'``/usr/share/zephir/backend/template/``'``
| SCHEDULER_DELAY = `60`
| AAF_DIR = ``'``/var/lib/zephir/aaf``'``
| days = ``{``'``Fri``'``:` `'``Ven``'``,` `'``Mon``'``:` `'``Lun``'``,` `'``Sat``'``:` `'``Sam``'``,` `'``Sun``'``:` `'``Dim``'``...``
| months = ``{``'``Apr``'``:` `'``Avr``'``,` `'``Aug``'``:` `'``Ao\xc3\xbb``'``,` `'``Dec``'``:` `'``D\xc3\xa9``...``
| CONFIG_UUCP = ``'``# configuration du serveur %s\nsystem %s\ncall-``...``
| FILE_SECTION = ``'``# section 1\n# liste des fichiers \xc3\xa0 sau``...``
| RPM_SECTION = ``'``# section 2\n# inscrire les noms des paquetages``...``
| held_packages = ``[``'``^linux-.*server$``'``,` `'``^linux-.*generic$``'``]``
| migration_files = ``{``'``amon``'``:` `{``'``exclude``'``:` `[``'``rapport-maj.html``'``,` `'``b``...``
| __package__ = ``'``zephir.backend``'``
| dist_dir = ``'``/usr/share/zephir/default_modules/6``'``
| mod_name = ``'``horus-2.4``'``
| modules = ``[``'``scribe-2.4``'``,` `'``thot-2.4``'``,` `'``sentinelle-2.4``'``,` `'``sphynx``...``
| num_dist = `6`

Variables Details

  ### days Value:
      {'Fri': 'Ven',
       'Mon': 'Lun',
       'Sat': 'Sam',
       'Sun': 'Dim',
       'Thu': 'Jeu',
       'Tue': 'Mar',
       'Wed': 'Mer'}

  ### months Value:
      {'Apr': 'Avr',
       'Aug': 'Ao\xc3\xbb',
       'Dec': 'D\xc3\xa9c',
       'Feb': 'F\xc3\xa9v',
       'Jan': 'Jan',
       'Jul': 'Jui',
       'Jun': 'Jun',
       'Mar': 'Mar',
      ...

  ### CONFIG_UUCP Value:
      '''# configuration du serveur %s
      system %s
      call-login %s
      call-password %s
      time any
      port tcp
      protocol t
      pubdir /var/spool/uucppublic
      ...

  ### FILE_SECTION Value:
      '''# section 1
      # liste des fichiers \xc3\xa0 sauvegarder
      # (ne pas modifier sauf pour cr\xc3\xa9er ou mettre \xc3\xa0 jour la v
      ariante)'''

  ### RPM_SECTION Value:
      '''# section 2
      # inscrire les noms des paquetages qui seront install\xc3\xa9s \xc3\xa
      0 la mise \xc3\xa0 jour du serveur
      # (ils doivent \xc3\xaatre pr\xc3\xa9sents sur le serveur de mise \xc3
      \xa0 jour)'''

  ### migration_files Value:
      {'amon': {'exclude': ['rapport-maj.html',
                            'blacklist-date.txt',
                            'Reconf.log'],
                'files': [('filtres-users', 'filtres-users', True),
                          ('serialize_btn.srz', 'serialize_btn.srz', False),
                          ('local', 'local', False),
                          ('perso', 'perso', False),
                          ('tmp', 'tmp', True),
      ...

  ### modules Value:
      ['scribe-2.4',
       'thot-2.4',
       'sentinelle-2.4',
       'sphynx-2.4',
       'amon-2.4',
       'eolebase-2.4',
       'horus-2.4']