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
Tatuya Kamada
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]
[buildout]
parts =
parts =
directory
directory
reporter
main
publish-connection-parameter
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
...
@@ -16,7 +16,7 @@ url = $${slap_connection:server_url}
...
@@ -16,7 +16,7 @@ url = $${slap_connection:server_url}
key = $${slap_connection:key_file}
key = $${slap_connection:key_file}
cert = $${slap_connection:cert_file}
cert = $${slap_connection:cert_file}
configuration.name =
a
nonymous
configuration.name =
A
nonymous
[directory]
[directory]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
...
@@ -24,19 +24,20 @@ etc = $${buildout:directory}/etc
...
@@ -24,19 +24,20 @@ etc = $${buildout:directory}/etc
script = $${:etc}/run
script = $${:etc}/run
service = $${:etc}/service
service = $${:etc}/service
promise = $${:etc}/promise
promise = $${:etc}/promise
report = $${buildout:directory}/var/xml_report
[main]
[main]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
command-line = ${buildout:bin-directory}/netdrive
_reporter
command-line = ${buildout:bin-directory}/netdrive
-reporter
--master-url=$${instance-parameter:url}
--master-url=$${instance-parameter:url}
--computer-id=$${instance-parameter:computer}
--computer-id=$${instance-parameter:computer}
--cert-file=$${instance-parameter:cert}
--cert-file=$${instance-parameter:cert}
--key-file=$${instance-parameter:key}
--key-file=$${instance-parameter:key}
--report-interval=300
--report-path=$${directory:report}
--report-interval=300.0
--data-file=$${directory:etc}/data
--data-file=$${directory:etc}/data
wrapper-path = $${directory:service}/netdrive-reporter
wrapper-path = $${directory:service}/netdrive-reporter
[publish-connection-parameter]
[publish-connection-parameter]
recipe = slapos.cookbook:publish
recipe = slapos.cookbook:publish
name = Net Drive Usage Report -- $${instance-parameter:configuration.name}!
name = Net Drive Usage Report -- $${instance-parameter:configuration.name}!
software/netdrive-reporter/software.cfg
View file @
1c542abc
...
@@ -7,16 +7,15 @@ parts =
...
@@ -7,16 +7,15 @@ parts =
netdrive-usage-report
netdrive-usage-report
instance-template
instance-template
download-cache = /opt/download-cache
[netdrive-usage-report]
[netdrive-usage-report]
recipe = z
3c.recipe.scripts
recipe = z
c.recipe.egg
eggs =
eggs =
slapos.core
slapos.core
lxml
lxml
netdrive.report
zc.buildout
netdrive
# control scripts generation in order to avoid reinstalling bin/buildout
scripts =
netdrive_reporter = netreport:main
[instance-template]
[instance-template]
recipe = slapos.recipe.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