Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
1c542abc
Commit
1c542abc
authored
Jun 30, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix netdrive-reporter couldn't create script
parent
fbea4557
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
software/netdrive-reporter/instance.cfg.in
software/netdrive-reporter/instance.cfg.in
+9
-8
software/netdrive-reporter/software.cfg
software/netdrive-reporter/software.cfg
+5
-6
No files found.
software/netdrive-reporter/instance.cfg.in
View file @
1c542abc
[buildout]
parts =
directory
reporter
main
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
...
...
@@ -16,7 +16,7 @@ url = $${slap_connection:server_url}
key = $${slap_connection:key_file}
cert = $${slap_connection:cert_file}
configuration.name =
a
nonymous
configuration.name =
A
nonymous
[directory]
recipe = slapos.cookbook:mkdirectory
...
...
@@ -24,19 +24,20 @@ etc = $${buildout:directory}/etc
script = $${:etc}/run
service = $${:etc}/service
promise = $${:etc}/promise
report = $${buildout:directory}/var/xml_report
[main]
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/netdrive
_reporter
command-line = ${buildout:bin-directory}/netdrive
-reporter
--master-url=$${instance-parameter:url}
--computer-id=$${instance-parameter:computer}
--cert-file=$${instance-parameter:cert}
--key-file=$${instance-parameter:key}
--report-interval=300
--computer-id=$${instance-parameter:computer}
--cert-file=$${instance-parameter:cert}
--key-file=$${instance-parameter:key}
--report-path=$${directory:report}
--report-interval=300.0
--data-file=$${directory:etc}/data
wrapper-path = $${directory:service}/netdrive-reporter
[publish-connection-parameter]
recipe = slapos.cookbook:publish
name = Net Drive Usage Report -- $${instance-parameter:configuration.name}!
software/netdrive-reporter/software.cfg
View file @
1c542abc
...
...
@@ -7,16 +7,15 @@ parts =
netdrive-usage-report
instance-template
download-cache = /opt/download-cache
[netdrive-usage-report]
recipe = z
3c.recipe.scripts
recipe = z
c.recipe.egg
eggs =
slapos.core
lxml
netdrive.report
# control scripts generation in order to avoid reinstalling bin/buildout
scripts =
netdrive_reporter = netreport:main
zc.buildout
netdrive
[instance-template]
recipe = slapos.recipe.template
...
...
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