Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Francois Le Corre
slapos.package
Commits
2022c403
Commit
2022c403
authored
Oct 18, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename slaptest in slapos-test
parent
217d871b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
README
README
+2
-2
slapos-node/Makefile
slapos-node/Makefile
+1
-1
slapos-node/slapos-test
slapos-node/slapos-test
+1
-1
slapprepare/README.txt
slapprepare/README.txt
+1
-1
No files found.
README
View file @
2022c403
...
@@ -45,7 +45,7 @@ Directory Organisation
...
@@ -45,7 +45,7 @@ Directory Organisation
- slapos-node/ : Template to build package
- slapos-node/ : Template to build package
- Makefile : Makefile to build slapos and add files for 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)
- 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
- slap
os-
test : python script to check user configuration and cron file
- template/ : template files for package (cron.d, service)
- template/ : template files for package (cron.d, service)
- slapos/ : to build slapos. Contain buildout.cfg.in
- slapos/ : to build slapos. Contain buildout.cfg.in
...
@@ -76,4 +76,4 @@ About cron file
...
@@ -76,4 +76,4 @@ About cron file
Main cron file is situated in slapos-node/template/slapos-node.cron.d
Main cron file is situated in slapos-node/template/slapos-node.cron.d
Prepare script will copy this one in the debian directory.
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
WARNING: if you update cron, do not forget to update slapos-test which check cron file
\ No newline at end of file
\ No newline at end of file
slapos-node/Makefile
View file @
2022c403
...
@@ -10,7 +10,7 @@ install: all
...
@@ -10,7 +10,7 @@ install: all
cd
slapos
;
make
install
cd
slapos
;
make
install
mkdir
-p
$(DESTDIR)
/usr/sbin/
mkdir
-p
$(DESTDIR)
/usr/sbin/
cp
slapos-start
$(DESTDIR)
/usr/sbin/
cp
slapos-start
$(DESTDIR)
/usr/sbin/
cp
slaptest
$(DESTDIR)
/usr/sbin/
cp
slap
os-
test
$(DESTDIR)
/usr/sbin/
cp
$(DESTDIR)
/opt/slapos/bin/slapos
$(DESTDIR)
/usr/sbin/
cp
$(DESTDIR)
/opt/slapos/bin/slapos
$(DESTDIR)
/usr/sbin/
# Open VPN configuration
# Open VPN configuration
mkdir
-p
$(DESTDIR)
/etc/openvpn/
mkdir
-p
$(DESTDIR)
/etc/openvpn/
...
...
slapos-node/slaptest
→
slapos-node/slap
os-
test
View file @
2022c403
...
@@ -366,7 +366,7 @@ class Config:
...
@@ -366,7 +366,7 @@ class Config:
for
option
,
value
in
option_dict
.
__dict__
.
items
():
for
option
,
value
in
option_dict
.
__dict__
.
items
():
setattr
(
self
,
option
,
value
)
setattr
(
self
,
option
,
value
)
# Define logger for register
# Define logger for register
self
.
logger
=
logging
.
getLogger
(
'slaptest configuration'
)
self
.
logger
=
logging
.
getLogger
(
'slap
os-
test configuration'
)
self
.
logger
.
setLevel
(
logging
.
DEBUG
)
self
.
logger
.
setLevel
(
logging
.
DEBUG
)
# add ch to logger
# add ch to logger
self
.
logger
.
addHandler
(
ch
)
self
.
logger
.
addHandler
(
ch
)
...
...
slapprepare/README.txt
View file @
2022c403
...
@@ -87,7 +87,7 @@ Check your config
...
@@ -87,7 +87,7 @@ Check your config
Check your config file and your cron file
Check your config file and your cron file
+++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++
Run:
Run:
# slaptest
# slap
os-
test
This script will check your config file for missing section or parameters
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.
You can use the slapos.cfg.example config file as reference for slapos.cfg.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment