Commit 2022c403 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Rename slaptest in slapos-test

parent 217d871b
......@@ -45,7 +45,7 @@ Directory Organisation
- slapos-node/ : Template to build package
- Makefile : Makefile to build slapos and add files for package
- slapos-start : shell script that will be run on startup (called by slapos-node daemon)
- slaptest : python script to check user configuration and cron file
- slapos-test : python script to check user configuration and cron file
- template/ : template files for package (cron.d, service)
- slapos/ : to build slapos. Contain buildout.cfg.in
......@@ -76,4 +76,4 @@ About cron file
Main cron file is situated in slapos-node/template/slapos-node.cron.d
Prepare script will copy this one in the debian directory.
WARNING: if you update cron, do not forget to update slaptest which check cron file
\ No newline at end of file
WARNING: if you update cron, do not forget to update slapos-test which check cron file
\ No newline at end of file
......@@ -10,7 +10,7 @@ install: all
cd slapos; make install
mkdir -p $(DESTDIR)/usr/sbin/
cp slapos-start $(DESTDIR)/usr/sbin/
cp slaptest $(DESTDIR)/usr/sbin/
cp slapos-test $(DESTDIR)/usr/sbin/
cp $(DESTDIR)/opt/slapos/bin/slapos $(DESTDIR)/usr/sbin/
# Open VPN configuration
mkdir -p $(DESTDIR)/etc/openvpn/
......
......@@ -366,7 +366,7 @@ class Config:
for option, value in option_dict.__dict__.items():
setattr(self, option, value)
# Define logger for register
self.logger = logging.getLogger('slaptest configuration')
self.logger = logging.getLogger('slapos-test configuration')
self.logger.setLevel(logging.DEBUG)
# add ch to logger
self.logger.addHandler(ch)
......
......@@ -87,7 +87,7 @@ Check your config
Check your config file and your cron file
+++++++++++++++++++++++++++++++++++++++++
Run:
# slaptest
# slapos-test
This script will check your config file for missing section or parameters
You can use the slapos.cfg.example config file as reference for slapos.cfg.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment